public class ClientConfiguration extends Object implements org.apache.cxf.interceptor.InterceptorProvider, org.apache.cxf.endpoint.ConduitSelectorHolder
| Constructor and Description |
|---|
ClientConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.cxf.Bus |
getBus()
Gets the bus
|
org.apache.cxf.transport.Conduit |
getConduit()
Gets the conduit responsible for a transport-level
communication with the remote service.
|
org.apache.cxf.endpoint.ConduitSelector |
getConduitSelector()
Gets the conduit selector
|
org.apache.cxf.endpoint.Endpoint |
getEndpoint() |
org.apache.cxf.transport.http.HTTPConduit |
getHttpConduit()
Gets the HTTP conduit responsible for a transport-level
communication with the remote service.
|
List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getInFaultInterceptors() |
List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getInInterceptors() |
List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getOutFaultInterceptors() |
List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> |
getOutInterceptors() |
Map<String,Object> |
getRequestContext()
Get the map of properties which affect the requests only.
|
Map<String,Object> |
getResponseContext()
Get the map of properties which affect the responses only.
|
long |
getSynchronousTimeout() |
boolean |
isResponseExpectedForOneway()
Indicates if Response may still be expected for oneway requests.
|
void |
setBus(org.apache.cxf.Bus bus)
Sets the bus
|
void |
setConduitSelector(org.apache.cxf.endpoint.ConduitSelector cs)
Sets the conduit selector
|
void |
setInFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
Sets the list of in fault interceptors which will deal with the HTTP
faults; the client code may choose to catch
WebApplicationException
exceptions instead. |
void |
setInInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
Sets the list of in interceptors which pre-process
the responses from remote services.
|
void |
setOutFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
Sets the list of out fault interceptors which will deal with the client-side
faults; the client code may choose to catch
ClientException
exceptions instead. |
void |
setOutInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
Sets the list of out interceptors which post-process
the requests to the remote services.
|
void |
setSynchronousTimeout(long synchronousTimeout)
Sets the synchronous timeout
|
public long getSynchronousTimeout()
public void setSynchronousTimeout(long synchronousTimeout)
synchronousTimeout - public boolean isResponseExpectedForOneway()
public void setConduitSelector(org.apache.cxf.endpoint.ConduitSelector cs)
setConduitSelector in interface org.apache.cxf.endpoint.ConduitSelectorHoldercs - the selectorpublic org.apache.cxf.endpoint.ConduitSelector getConduitSelector()
getConduitSelector in interface org.apache.cxf.endpoint.ConduitSelectorHolderpublic void setBus(org.apache.cxf.Bus bus)
bus - the buspublic org.apache.cxf.Bus getBus()
public List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInFaultInterceptors()
getInFaultInterceptors in interface org.apache.cxf.interceptor.InterceptorProviderpublic List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getInInterceptors()
getInInterceptors in interface org.apache.cxf.interceptor.InterceptorProviderpublic List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutFaultInterceptors()
getOutFaultInterceptors in interface org.apache.cxf.interceptor.InterceptorProviderpublic List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> getOutInterceptors()
getOutInterceptors in interface org.apache.cxf.interceptor.InterceptorProviderpublic void setInInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
interceptors - in interceptorspublic void setOutInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
interceptors - out interceptorspublic void setInFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
WebApplicationException
exceptions instead.interceptors - in fault interceptorspublic void setOutFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
ClientException
exceptions instead.interceptors - out fault interceptorspublic org.apache.cxf.transport.Conduit getConduit()
public org.apache.cxf.transport.http.HTTPConduit getHttpConduit()
public Map<String,Object> getResponseContext()
public Map<String,Object> getRequestContext()
public org.apache.cxf.endpoint.Endpoint getEndpoint()
Apache CXF