|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface ODataConsumer.Builder
Mutable builder for ODataConsumer instances.
| Method Summary | |
|---|---|
ODataConsumer |
build()
Returns the immutable consumer instance for interacting with an OData service. |
ODataConsumer.Builder |
setClientBehaviors(OClientBehavior... clientBehaviors)
Sets the client behavior extensions associated with the consumer. |
ODataConsumer.Builder |
setFormatType(FormatType formatType)
Sets the desired format type for all requests. |
| Method Detail |
|---|
ODataConsumer build()
ODataConsumer.Builder setClientBehaviors(OClientBehavior... clientBehaviors)
clientBehaviors - extensions used for client request modification
ODataConsumer.Builder setFormatType(FormatType formatType)
Note: some services do not support all formats.
formatType - desired format
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||