org.odata4j.jersey.consumer.behaviors
Enum AllowSelfSignedCertsBehavior

java.lang.Object
  extended by java.lang.Enum<AllowSelfSignedCertsBehavior>
      extended by org.odata4j.jersey.consumer.behaviors.AllowSelfSignedCertsBehavior
All Implemented Interfaces:
Serializable, Comparable<AllowSelfSignedCertsBehavior>, OClientBehavior, JerseyClientBehavior

public enum AllowSelfSignedCertsBehavior
extends Enum<AllowSelfSignedCertsBehavior>
implements JerseyClientBehavior


Enum Constant Summary
INSTANCE
           
 
Method Summary
static OClientBehavior allowSelfSignedCerts()
          Creates a behavior that allows for https services with self-signed certificates.
 void modify(ClientConfig clientConfig)
           
 void modifyClientFilters(Filterable client)
           
 void modifyWebResourceFilters(Filterable webResource)
           
 ODataClientRequest transform(ODataClientRequest request)
          Transforms the current http request.
static AllowSelfSignedCertsBehavior valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AllowSelfSignedCertsBehavior[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INSTANCE

public static final AllowSelfSignedCertsBehavior INSTANCE
Method Detail

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