public class JerseyInvocation extends Object implements Invocation
JAX-RS client-side
request invocation contract.| Modifier and Type | Class and Description |
|---|---|
static class |
JerseyInvocation.Builder
Jersey-specific
client invocation builder. |
| Modifier and Type | Method and Description |
|---|---|
Response |
invoke() |
<T> T |
invoke(Class<T> responseType) |
<T> T |
invoke(GenericType<T> responseType) |
JerseyInvocation |
property(String name,
Object value) |
Future<Response> |
submit() |
<T> Future<T> |
submit(Class<T> responseType) |
<T> Future<T> |
submit(GenericType<T> responseType) |
<T> Future<T> |
submit(InvocationCallback<T> callback) |
public Response invoke() throws ProcessingException, WebApplicationException
invoke in interface InvocationProcessingExceptionWebApplicationExceptionpublic <T> T invoke(Class<T> responseType) throws ProcessingException, WebApplicationException
invoke in interface InvocationProcessingExceptionWebApplicationExceptionpublic <T> T invoke(GenericType<T> responseType) throws ProcessingException, WebApplicationException
invoke in interface InvocationProcessingExceptionWebApplicationExceptionpublic Future<Response> submit()
submit in interface Invocationpublic <T> Future<T> submit(Class<T> responseType)
submit in interface Invocationpublic <T> Future<T> submit(GenericType<T> responseType)
submit in interface Invocationpublic <T> Future<T> submit(InvocationCallback<T> callback)
submit in interface Invocationpublic JerseyInvocation property(String name, Object value)
property in interface InvocationCopyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.