Tabnine Logo
BaseClientResponse.setReturnType
Code IndexAdd Tabnine to your IDE (free)

How to use
setReturnType
method
in
org.jboss.resteasy.client.core.BaseClientResponse

Best Java code snippets using org.jboss.resteasy.client.core.BaseClientResponse.setReturnType (Showing top 20 results out of 315)

origin: org.jboss.resteasy/resteasy-legacy

public <T> ClientResponse<T> put(Class<T> returnType) throws Exception
{
 BaseClientResponse response = (BaseClientResponse) put();
 response.setReturnType(returnType);
 return response;
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

public <T> ClientResponse<T> httpMethod(String method, Class<T> returnType)
    throws Exception
{
 BaseClientResponse response = (BaseClientResponse) httpMethod(method);
 response.setReturnType(returnType);
 return response;
}
origin: org.jboss.resteasy/resteasy-legacy

public <T> ClientResponse<T> httpMethod(String method, Class<T> returnType)
    throws Exception
{
 BaseClientResponse response = (BaseClientResponse) httpMethod(method);
 response.setReturnType(returnType);
 return response;
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

public <T> ClientResponse<T> post(Class<T> returnType) throws Exception
{
 BaseClientResponse response = (BaseClientResponse) post();
 response.setReturnType(returnType);
 return response;
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

public <T> ClientResponse<T> delete(Class<T> returnType) throws Exception
{
 BaseClientResponse response = (BaseClientResponse) delete();
 response.setReturnType(returnType);
 return response;
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

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;
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

public <T> ClientResponse<T> post(Class<T> returnType, Type genericType)
    throws Exception
{
 BaseClientResponse response = (BaseClientResponse) post();
 response.setReturnType(returnType);
 response.setGenericReturnType(genericType);
 return response;
}
origin: org.jboss.resteasy/resteasy-legacy

public <T> ClientResponse<T> options(Class<T> returnType, Type genericType)
    throws Exception
{
 BaseClientResponse response = (BaseClientResponse) options();
 response.setReturnType(returnType);
 response.setGenericReturnType(genericType);
 return response;
}
origin: org.jboss.resteasy/resteasy-legacy

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;
}
origin: org.jboss.resteasy/resteasy-legacy

public <T> ClientResponse<T> put(Class<T> returnType, Type genericType)
    throws Exception
{
 BaseClientResponse response = (BaseClientResponse) put();
 response.setReturnType(returnType);
 response.setGenericReturnType(genericType);
 return response;
}
origin: org.jboss.resteasy/resteasy-legacy

public <T> ClientResponse<T> delete(Class<T> returnType, Type genericType)
    throws Exception
{
 BaseClientResponse response = (BaseClientResponse) delete();
 response.setReturnType(returnType);
 response.setGenericReturnType(genericType);
 return response;
}
origin: org.jboss.resteasy/resteasy-legacy

public <T> ClientResponse<T> options(GenericType type) throws Exception
{
 BaseClientResponse response = (BaseClientResponse) options();
 response.setReturnType(type.getType());
 response.setGenericReturnType(type.getGenericType());
 return response;
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

public <T> ClientResponse<T> get(GenericType type) throws Exception
{
 BaseClientResponse response = (BaseClientResponse) get();
 response.setReturnType(type.getType());
 response.setGenericReturnType(type.getGenericType());
 return response;
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

public <T> ClientResponse<T> options(GenericType type) throws Exception
{
 BaseClientResponse response = (BaseClientResponse) options();
 response.setReturnType(type.getType());
 response.setGenericReturnType(type.getGenericType());
 return response;
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

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;
}
origin: org.jboss.resteasy/resteasy-legacy

public <T> ClientResponse<T> put(GenericType type) throws Exception
{
 BaseClientResponse response = (BaseClientResponse) put();
 response.setReturnType(type.getType());
 response.setGenericReturnType(type.getGenericType());
 return response;
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

public <T> ClientResponse<T> put(GenericType type) throws Exception
{
 BaseClientResponse response = (BaseClientResponse) put();
 response.setReturnType(type.getType());
 response.setGenericReturnType(type.getGenericType());
 return response;
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

public <T> ClientResponse<T> post(GenericType type) throws Exception
{
 BaseClientResponse response = (BaseClientResponse) post();
 response.setReturnType(type.getType());
 response.setGenericReturnType(type.getGenericType());
 return response;
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

  public Object extractEntity(ClientRequestContext context, Object... args)
  {
   context.getClientResponse().setReturnType(responseReturnType);
   context.getClientResponse().setGenericReturnType(genericReturnType);
   return context.getClientResponse();
  }
};
origin: org.jboss.resteasy/resteasy-legacy

public <T> ClientResponse<T> delete(GenericType type) throws Exception
{
 BaseClientResponse response = (BaseClientResponse) delete();
 response.setReturnType(type.getType());
 response.setGenericReturnType(type.getGenericType());
 return response;
}
org.jboss.resteasy.client.coreBaseClientResponsesetReturnType

Popular methods of BaseClientResponse

  • getStreamFactory
  • getEntity
  • getMetadata
  • getStatus
  • <init>
  • setAnnotations
  • setAttributeExceptionsTo
  • setHeaders
  • setProviderFactory
  • setStatus
  • checkFailureStatus
  • copyFromError
    Store entity within a byte array input stream because we want to release the connection if a ClientR
  • checkFailureStatus,
  • copyFromError,
  • createResponseFailure,
  • getAnnotations,
  • getLinkHeader,
  • getLocationLink,
  • getMediaType,
  • getResponseHeader,
  • getResponseHeaders

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSupportFragmentManager (FragmentActivity)
  • setScale (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now