|
Apache CXF API | |||||||||
| 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 | |
|---|---|
Bus |
getBus()
Gets the bus |
Conduit |
getConduit()
Gets the conduit responsible for a transport-level communication with the remote service. |
ConduitSelector |
getConduitSelector()
Gets the conduit selector |
HTTPConduit |
getHttpConduit()
Gets the HTTP conduit responsible for a transport-level communication with the remote service. |
List<Interceptor<? extends Message>> |
getInFaultInterceptors()
Returns the list of interceptors attached to the incoming fault interceptor chain of the object. |
List<Interceptor<? extends Message>> |
getInInterceptors()
Returns the list of interceptors attached to the incoming interceptor chain of the object. |
List<Interceptor<? extends Message>> |
getOutFaultInterceptors()
Returns the list of interceptors attached to the outgoing fault interceptor chain of the object. |
List<Interceptor<? extends Message>> |
getOutInterceptors()
Returns the list of interceptors attached to the outgoing interceptor chain of the object. |
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. |
void |
setBus(Bus bus)
Sets the bus |
void |
setConduitSelector(ConduitSelector cs)
Sets the conduit selector |
void |
setInFaultInterceptors(List<Interceptor<? extends 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<Interceptor<? extends Message>> interceptors)
Sets the list of in interceptors which pre-process the responses from remote services. |
void |
setOutFaultInterceptors(List<Interceptor<? extends 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<Interceptor<? extends Message>> interceptors)
Sets the list of out interceptors which post-process the requests to the remote services. |
| 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 void setConduitSelector(ConduitSelector cs)
cs - the selectorpublic ConduitSelector getConduitSelector()
public void setBus(Bus bus)
bus - the buspublic Bus getBus()
public List<Interceptor<? extends Message>> getInFaultInterceptors()
InterceptorProvider
getInFaultInterceptors in interface InterceptorProviderList incoming fault interceptor chainpublic List<Interceptor<? extends Message>> getInInterceptors()
InterceptorProvider
getInInterceptors in interface InterceptorProviderList incoming interceptor chainpublic List<Interceptor<? extends Message>> getOutFaultInterceptors()
InterceptorProvider
getOutFaultInterceptors in interface InterceptorProviderList outgoing fault interceptor chainpublic List<Interceptor<? extends Message>> getOutInterceptors()
InterceptorProvider
getOutInterceptors in interface InterceptorProviderList outgoing interceptor chainpublic void setInInterceptors(List<Interceptor<? extends Message>> interceptors)
interceptors - in interceptorspublic void setOutInterceptors(List<Interceptor<? extends Message>> interceptors)
interceptors - out interceptorspublic void setInFaultInterceptors(List<Interceptor<? extends Message>> interceptors)
ServerWebApplicationException
exceptions instead.
interceptors - in fault interceptorspublic void setOutFaultInterceptors(List<Interceptor<? extends Message>> interceptors)
ClientWebApplicationException
exceptions instead.
interceptors - out fault interceptorspublic Conduit getConduit()
public HTTPConduit getHttpConduit()
public Map<String,Object> getResponseContext()
public Map<String,Object> getRequestContext()
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||