public <T> ClientResponse<T> put(Class<T> returnType) throws Exception { BaseClientResponse response = (BaseClientResponse) put(); response.setReturnType(returnType); return response; }
public <T> ClientResponse<T> httpMethod(String method, Class<T> returnType) throws Exception { BaseClientResponse response = (BaseClientResponse) httpMethod(method); response.setReturnType(returnType); return response; }
public <T> ClientResponse<T> httpMethod(String method, Class<T> returnType) throws Exception { BaseClientResponse response = (BaseClientResponse) httpMethod(method); response.setReturnType(returnType); return response; }
public <T> ClientResponse<T> post(Class<T> returnType) throws Exception { BaseClientResponse response = (BaseClientResponse) post(); response.setReturnType(returnType); return response; }
public <T> ClientResponse<T> delete(Class<T> returnType) throws Exception { BaseClientResponse response = (BaseClientResponse) delete(); response.setReturnType(returnType); return response; }
public <T> ClientResponse<T> httpMethod(String method, Class<T> returnType, Type genericType) throws Exception { BaseClientResponse response = (BaseClientResponse) httpMethod(method); response.setReturnType(returnType); response.setGenericReturnType(genericType); return response; }
public <T> ClientResponse<T> post(Class<T> returnType, Type genericType) throws Exception { BaseClientResponse response = (BaseClientResponse) post(); response.setReturnType(returnType); response.setGenericReturnType(genericType); return response; }
public <T> ClientResponse<T> options(Class<T> returnType, Type genericType) throws Exception { BaseClientResponse response = (BaseClientResponse) options(); response.setReturnType(returnType); response.setGenericReturnType(genericType); return response; }
public <T> ClientResponse<T> httpMethod(String method, Class<T> returnType, Type genericType) throws Exception { BaseClientResponse response = (BaseClientResponse) httpMethod(method); response.setReturnType(returnType); response.setGenericReturnType(genericType); return response; }
public <T> ClientResponse<T> put(Class<T> returnType, Type genericType) throws Exception { BaseClientResponse response = (BaseClientResponse) put(); response.setReturnType(returnType); response.setGenericReturnType(genericType); return response; }
public <T> ClientResponse<T> delete(Class<T> returnType, Type genericType) throws Exception { BaseClientResponse response = (BaseClientResponse) delete(); response.setReturnType(returnType); response.setGenericReturnType(genericType); return response; }
public <T> ClientResponse<T> options(GenericType type) throws Exception { BaseClientResponse response = (BaseClientResponse) options(); response.setReturnType(type.getType()); response.setGenericReturnType(type.getGenericType()); return response; }
public <T> ClientResponse<T> get(GenericType type) throws Exception { BaseClientResponse response = (BaseClientResponse) get(); response.setReturnType(type.getType()); response.setGenericReturnType(type.getGenericType()); return response; }
public <T> ClientResponse<T> options(GenericType type) throws Exception { BaseClientResponse response = (BaseClientResponse) options(); response.setReturnType(type.getType()); response.setGenericReturnType(type.getGenericType()); return response; }
public <T> ClientResponse<T> httpMethod(String method, GenericType type) throws Exception { BaseClientResponse response = (BaseClientResponse) httpMethod(method); response.setReturnType(type.getType()); response.setGenericReturnType(type.getGenericType()); return response; }
public <T> ClientResponse<T> put(GenericType type) throws Exception { BaseClientResponse response = (BaseClientResponse) put(); response.setReturnType(type.getType()); response.setGenericReturnType(type.getGenericType()); return response; }
public <T> ClientResponse<T> put(GenericType type) throws Exception { BaseClientResponse response = (BaseClientResponse) put(); response.setReturnType(type.getType()); response.setGenericReturnType(type.getGenericType()); return response; }
public <T> ClientResponse<T> post(GenericType type) throws Exception { BaseClientResponse response = (BaseClientResponse) post(); response.setReturnType(type.getType()); response.setGenericReturnType(type.getGenericType()); return response; }
public Object extractEntity(ClientRequestContext context, Object... args) { context.getClientResponse().setReturnType(responseReturnType); context.getClientResponse().setGenericReturnType(genericReturnType); return context.getClientResponse(); } };
public <T> ClientResponse<T> delete(GenericType type) throws Exception { BaseClientResponse response = (BaseClientResponse) delete(); response.setReturnType(type.getType()); response.setGenericReturnType(type.getGenericType()); return response; }