org.odata4j.jersey.consumer.behaviors
Enum AllowSelfSignedCertsBehavior
java.lang.Object
java.lang.Enum<AllowSelfSignedCertsBehavior>
org.odata4j.jersey.consumer.behaviors.AllowSelfSignedCertsBehavior
- All Implemented Interfaces:
- Serializable, Comparable<AllowSelfSignedCertsBehavior>, OClientBehavior, JerseyClientBehavior
public enum AllowSelfSignedCertsBehavior
- extends Enum<AllowSelfSignedCertsBehavior>
- implements JerseyClientBehavior
INSTANCE
public static final AllowSelfSignedCertsBehavior INSTANCE
allowSelfSignedCerts
public static OClientBehavior allowSelfSignedCerts()
- Creates a behavior that allows for https services with self-signed certificates.
- Returns:
- a behavior that allows for https services with self-signed certificates
modify
public void modify(ClientConfig clientConfig)
- Specified by:
modify
in interface JerseyClientBehavior
modifyClientFilters
public void modifyClientFilters(Filterable client)
- Specified by:
modifyClientFilters
in interface JerseyClientBehavior
modifyWebResourceFilters
public void modifyWebResourceFilters(Filterable webResource)
- Specified by:
modifyWebResourceFilters
in interface JerseyClientBehavior
transform
public ODataClientRequest transform(ODataClientRequest request)
- Description copied from interface:
OClientBehavior
- Transforms the current http request.
- Specified by:
transform
in interface OClientBehavior
- Parameters:
request
- the current http request
- Returns:
- the modified http request
valueOf
public static AllowSelfSignedCertsBehavior valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
values
public static AllowSelfSignedCertsBehavior[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AllowSelfSignedCertsBehavior c : AllowSelfSignedCertsBehavior.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
http://odata4j.org