|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.jaxrs.client.ClientConfiguration
public class ClientConfiguration
Represents the configuration of the current proxy or WebClient. Given an instance with the name 'client', one can access its configuration using a WebClient.getConfig(client) call.
| Constructor Summary | |
|---|---|
ClientConfiguration()
|
|
| Method Summary | |
|---|---|
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.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 ServerWebApplicationException
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 ClientWebApplicationException
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientConfiguration()
| Method Detail |
|---|
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)
ServerWebApplicationException
exceptions instead.
interceptors - in fault interceptorspublic void setOutFaultInterceptors(List<org.apache.cxf.interceptor.Interceptor<? extends org.apache.cxf.message.Message>> interceptors)
ClientWebApplicationException
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||