Uses of Class
javax.ws.rs.core.TypeLiteral

Packages that use TypeLiteral
javax.ws.rs.client The JAX-RS client API 
javax.ws.rs.core Low-level interfaces and annotations used to create RESTful service resources. 
 

Uses of TypeLiteral in javax.ws.rs.client
 

Methods in javax.ws.rs.client with parameters of type TypeLiteral
<T> Future<T>
AsyncInvoker.delete(TypeLiteral<T> responseType)
           
<T> T
SyncInvoker.delete(TypeLiteral<T> responseType)
           
<T> Future<T>
AsyncInvoker.get(TypeLiteral<T> responseType)
           
<T> T
SyncInvoker.get(TypeLiteral<T> responseType)
           
<T> T
Invocation.invoke(TypeLiteral<T> responseType)
          Synchronously invoke the request and receive a response of the specified generic type back.
<T> Future<T>
AsyncInvoker.method(String name, Entity<?> entity, TypeLiteral<T> responseType)
           
<T> T
SyncInvoker.method(String name, Entity<?> entity, TypeLiteral<T> responseType)
           
<T> Future<T>
AsyncInvoker.method(String name, TypeLiteral<T> responseType)
           
<T> T
SyncInvoker.method(String name, TypeLiteral<T> responseType)
           
<T> Future<T>
AsyncInvoker.options(TypeLiteral<T> responseType)
           
<T> T
SyncInvoker.options(TypeLiteral<T> responseType)
           
<T> Future<T>
AsyncInvoker.post(Entity<?> entity, TypeLiteral<T> responseType)
           
<T> T
SyncInvoker.post(Entity<?> entity, TypeLiteral<T> responseType)
           
<T> Future<T>
AsyncInvoker.put(Entity<?> entity, TypeLiteral<T> responseType)
           
<T> T
SyncInvoker.put(Entity<?> entity, TypeLiteral<T> responseType)
           
<T> Future<T>
Invocation.submit(TypeLiteral<T> responseType)
          Submit the request for an asynchronous invocation and receive a future response of the specified generic type back.
<T> Future<T>
AsyncInvoker.trace(Entity<?> entity, TypeLiteral<T> responseType)
           
<T> T
SyncInvoker.trace(Entity<?> entity, TypeLiteral<T> responseType)
           
 

Uses of TypeLiteral in javax.ws.rs.core
 

Methods in javax.ws.rs.core that return TypeLiteral
static
<T> TypeLiteral<T>
TypeLiteral.of(Class<?> rawType, Type type)
          Construct a type literal instance with programmatically set values of type and raw type.
 

Methods in javax.ws.rs.core with parameters of type TypeLiteral
abstract
<T> T
Response.readEntity(TypeLiteral<T> entityType)
          Read the message entity as an instance of specified (generic) Java type using a MessageBodyReader that supports mapping the message entity stream onto the requested type.
<T> T
Request.readEntity(TypeLiteral<T> entityType)
          Read the message entity as an instance of specified (generic) Java type using a MessageBodyReader that supports mapping the message entity stream onto the requested type.
abstract
<T> T
Response.readEntity(TypeLiteral<T> entityType, Annotation[] annotations)
          Read the message entity as an instance of specified (generic) Java type using a MessageBodyReader that supports mapping the message entity stream onto the requested type.
<T> T
Request.readEntity(TypeLiteral<T> entityType, Annotation[] annotations)
          Read the message entity as an instance of specified (generic) Java type using a MessageBodyReader that supports mapping the message entity stream onto the requested type.
 



Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.