public static class ODataCxfConsumer.Builder extends Object implements org.odata4j.consumer.ODataConsumer.Builder
| Modifier and Type | Method and Description |
|---|---|
ODataCxfConsumer |
build()
Builds the
ODataCxfConsumer object. |
ODataCxfConsumer.Builder |
setClientBehaviors(org.odata4j.consumer.behaviors.OClientBehavior... clientBehaviors)
Sets one or more client behaviors.
|
ODataCxfConsumer.Builder |
setFormatType(org.odata4j.format.FormatType formatType)
Sets a preferred
FormatType. |
public ODataCxfConsumer.Builder setFormatType(org.odata4j.format.FormatType formatType)
FormatType. Defaults to FormatType.ATOM.setFormatType in interface org.odata4j.consumer.ODataConsumer.BuilderformatType - the format typepublic ODataCxfConsumer.Builder setClientBehaviors(org.odata4j.consumer.behaviors.OClientBehavior... clientBehaviors)
Client behaviors transform http requests to interact with services that require custom extensions.
setClientBehaviors in interface org.odata4j.consumer.ODataConsumer.BuilderclientBehaviors - the client behaviorspublic ODataCxfConsumer build()
ODataCxfConsumer object.build in interface org.odata4j.consumer.ODataConsumer.BuilderCopyright © 2010–2015 JBoss by Red Hat. All rights reserved.