@ThreadSafe public class CXFRSDynamicClientBuilder extends Object implements RSDynamicClientBuilder
Constructor and Description |
---|
CXFRSDynamicClientBuilder() |
Modifier and Type | Method and Description |
---|---|
RSDynamicClient |
build()
Build the
WSDynamicClient with all parameters set on this class |
RSDynamicClientBuilder |
consumeMediaTypes(String consumeMediaTypes) |
String |
getConsumeMediaTypes() |
RSDynamicClient.HttpMethod |
getHttpMethod() |
String |
getProduceMediaTypes() |
String |
getResourceURI() |
RSDynamicClientBuilder |
httpMethod(RSDynamicClient.HttpMethod httpMethod) |
RSDynamicClientBuilder |
produceMediaTypes(String produceMediaTypes) |
RSDynamicClientBuilder |
resourceURI(String resourceURI) |
public RSDynamicClient build() throws IllegalStateException, WiseRuntimeException
RSDynamicClientBuilder
WSDynamicClient
with all parameters set on this classbuild
in interface RSDynamicClientBuilder
WSDynamicClient
IllegalStateException
- ExceptionWiseRuntimeException
- Exceptionpublic RSDynamicClientBuilder resourceURI(String resourceURI)
resourceURI
in interface RSDynamicClientBuilder
public RSDynamicClientBuilder httpMethod(RSDynamicClient.HttpMethod httpMethod)
httpMethod
in interface RSDynamicClientBuilder
public RSDynamicClientBuilder produceMediaTypes(String produceMediaTypes)
produceMediaTypes
in interface RSDynamicClientBuilder
public RSDynamicClientBuilder consumeMediaTypes(String consumeMediaTypes)
consumeMediaTypes
in interface RSDynamicClientBuilder
public String getResourceURI()
getResourceURI
in interface RSDynamicClientBuilder
public String getProduceMediaTypes()
getProduceMediaTypes
in interface RSDynamicClientBuilder
public String getConsumeMediaTypes()
getConsumeMediaTypes
in interface RSDynamicClientBuilder
public RSDynamicClient.HttpMethod getHttpMethod()
getHttpMethod
in interface RSDynamicClientBuilder
Copyright © 2008–2015 JBoss.org. All rights reserved.