|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.odata4j.jersey.consumer.ODataJerseyConsumer.Builder
public static class ODataJerseyConsumer.Builder
Builder for ODataJerseyConsumer
objects.
Method Summary | |
---|---|
ODataJerseyConsumer |
build()
Builds the ODataJerseyConsumer object. |
ODataJerseyConsumer.Builder |
setClientBehaviors(OClientBehavior... clientBehaviors)
Sets one or more client behaviors. |
ODataJerseyConsumer.Builder |
setClientFactory(JerseyClientFactory clientFactory)
Sets a specific JerseyClientFactory . |
ODataJerseyConsumer.Builder |
setFormatType(FormatType formatType)
Sets a preferred FormatType . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ODataJerseyConsumer build()
ODataJerseyConsumer
object.
build
in interface ODataConsumer.Builder
public ODataJerseyConsumer.Builder setClientBehaviors(OClientBehavior... clientBehaviors)
Client behaviors transform http requests to interact with services that require custom extensions.
setClientBehaviors
in interface ODataConsumer.Builder
clientBehaviors
- the client behaviors
public ODataJerseyConsumer.Builder setClientFactory(JerseyClientFactory clientFactory)
JerseyClientFactory
.
clientFactory
- the jersey client factory
public ODataJerseyConsumer.Builder setFormatType(FormatType formatType)
FormatType
. Defaults to FormatType.ATOM
.
setFormatType
in interface ODataConsumer.Builder
formatType
- the format type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |