public class JaxRSInvoker extends AbstractSyncInvoker
| Modifier and Type | Method and Description |
|---|---|
org.coodex.concrete.common.ServiceContext |
buildContext(Class concreteClass,
Method method) |
static javax.ws.rs.client.Invocation.Builder |
buildHeaders(javax.ws.rs.client.Invocation.Builder builder,
StringBuilder str,
org.coodex.concrete.common.Subjoin subjoin,
String tokenId) |
protected String |
encode(String s,
String charset) |
protected Object |
execute(Class clz,
Method method,
Object[] args) |
protected String |
getEncodingCharset() |
static Object |
getSubmitObject(Unit unit,
Object[] args) |
static Object |
processResult(int code,
String body,
Unit unit,
boolean errorOccurred,
String url) |
protected String |
toStr(Object o) |
invokegetDestination, isMockpublic static javax.ws.rs.client.Invocation.Builder buildHeaders(javax.ws.rs.client.Invocation.Builder builder,
StringBuilder str,
org.coodex.concrete.common.Subjoin subjoin,
String tokenId)
public static Object processResult(int code, String body, Unit unit, boolean errorOccurred, String url)
protected String getEncodingCharset()
protected String encode(String s, String charset) throws UnsupportedEncodingException
UnsupportedEncodingExceptionprotected Object execute(Class clz, Method method, Object[] args) throws Throwable
execute in class AbstractSyncInvokerThrowablepublic org.coodex.concrete.common.ServiceContext buildContext(Class concreteClass, Method method)
buildContext in class AbstractInvokerCopyright © 2018. All rights reserved.