|
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.AbstractClient
org.apache.cxf.jaxrs.client.ClientProxyImpl
public class ClientProxyImpl
Proxy-based client implementation
| Field Summary |
|---|
| Fields inherited from class org.apache.cxf.jaxrs.client.AbstractClient |
|---|
cfg, KEEP_CONDUIT_ALIVE, REQUEST_CONTEXT, RESPONSE_CONTEXT |
| Constructor Summary | |
|---|---|
ClientProxyImpl(ClientState initialState,
ClassResourceInfo cri,
boolean isRoot,
boolean inheritHeaders,
Object... varValues)
|
|
ClientProxyImpl(URI baseURI,
ClassResourceInfo cri,
boolean isRoot,
boolean inheritHeaders,
Object... varValues)
|
|
| Method Summary | |
|---|---|
Object |
getInvocationHandler()
|
protected Object |
handleResponse(Message outMessage)
|
Object |
invoke(Object o,
Method m,
Object[] params)
Updates the current state if Client method is invoked, otherwise does the remote invocation or returns a new proxy if subresource method is invoked. |
protected static void |
reportInvalidResourceMethod(Method m,
String name)
|
protected Object |
retryInvoke(URI newRequestURI,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
Object body,
Exchange exchange,
Map<String,Object> invContext)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientProxyImpl(URI baseURI,
ClassResourceInfo cri,
boolean isRoot,
boolean inheritHeaders,
Object... varValues)
public ClientProxyImpl(ClientState initialState,
ClassResourceInfo cri,
boolean isRoot,
boolean inheritHeaders,
Object... varValues)
| Method Detail |
|---|
public Object invoke(Object o,
Method m,
Object[] params)
throws Throwable
invoke in interface InvocationHandlerThrowable
protected Object retryInvoke(URI newRequestURI,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
Object body,
Exchange exchange,
Map<String,Object> invContext)
throws Throwable
retryInvoke in class AbstractClientThrowable
protected Object handleResponse(Message outMessage)
throws Throwable
Throwablepublic Object getInvocationHandler()
getInvocationHandler in interface InvocationHandlerAware
protected static void reportInvalidResourceMethod(Method m,
String name)
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||