Package | Description |
---|---|
javax.ws.rs.client |
The JAX-RS client API
|
javax.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service
resources.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
SyncInvoker.delete(GenericType<T> responseType)
Invoke HTTP DELETE method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.delete(GenericType<T> responseType)
Invoke HTTP DELETE method for the current request asynchronously.
|
<T> T |
SyncInvoker.get(GenericType<T> responseType)
Invoke HTTP GET method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.get(GenericType<T> responseType)
Invoke HTTP GET method for the current request asynchronously.
|
<T> T |
Invocation.invoke(GenericType<T> responseType)
Synchronously invoke the request and receive a response of the specified
generic type back.
|
<T> T |
SyncInvoker.method(String name,
Entity<?> entity,
GenericType<T> responseType)
Invoke an arbitrary method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.method(String name,
Entity<?> entity,
GenericType<T> responseType)
Invoke an arbitrary method for the current request asynchronously.
|
<T> T |
SyncInvoker.method(String name,
GenericType<T> responseType)
Invoke an arbitrary method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.method(String name,
GenericType<T> responseType)
Invoke an arbitrary method for the current request asynchronously.
|
<T> T |
SyncInvoker.options(GenericType<T> responseType)
Invoke HTTP OPTIONS method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.options(GenericType<T> responseType)
Invoke HTTP OPTIONS method for the current request asynchronously.
|
<T> T |
SyncInvoker.post(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP POST method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.post(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP POST method for the current request asynchronously.
|
<T> T |
SyncInvoker.put(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP PUT method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.put(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP PUT method for the current request asynchronously.
|
<T> Future<T> |
Invocation.submit(GenericType<T> responseType)
Submit the request for an asynchronous invocation and receive a future
response of the specified generic type back.
|
<T> T |
SyncInvoker.trace(GenericType<T> responseType)
Invoke HTTP TRACE method for the current request synchronously.
|
<T> Future<T> |
AsyncInvoker.trace(GenericType<T> responseType)
Invoke HTTP TRACE method for the current request asynchronously.
|
Modifier and Type | Method and Description |
---|---|
abstract <T> T |
Response.readEntity(GenericType<T> entityType)
Read the message entity input stream as an instance of specified Java type
using a
MessageBodyReader that supports mapping the
message entity stream onto the requested type. |
abstract <T> T |
Response.readEntity(GenericType<T> entityType,
Annotation[] annotations)
Read the message entity input stream as an instance of specified Java type
using a
MessageBodyReader that supports mapping the
message entity stream onto the requested type. |
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.