org.glassfish.jersey.client
Class JerseyInvocation
java.lang.Object
org.glassfish.jersey.client.JerseyInvocation
- All Implemented Interfaces:
- javax.ws.rs.client.Invocation
public class JerseyInvocation
- extends java.lang.Object
- implements javax.ws.rs.client.Invocation
Jersey implementation of JAX-RS client-side
request invocation contract.
- Author:
- Marek Potociar (marek.potociar at oracle.com)
|
Method Summary |
javax.ws.rs.core.Response |
invoke()
|
|
invoke(java.lang.Class<T> responseType)
|
|
invoke(javax.ws.rs.core.GenericType<T> responseType)
|
JerseyInvocation |
property(java.lang.String name,
java.lang.Object value)
|
java.util.concurrent.Future<javax.ws.rs.core.Response> |
submit()
|
<T> java.util.concurrent.Future<T> |
|
submit(java.lang.Class<T> responseType)
|
<T> java.util.concurrent.Future<T> |
|
submit(javax.ws.rs.core.GenericType<T> responseType)
|
<T> java.util.concurrent.Future<T> |
|
submit(javax.ws.rs.client.InvocationCallback<T> callback)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
invoke
public javax.ws.rs.core.Response invoke()
throws javax.ws.rs.ProcessingException,
javax.ws.rs.WebApplicationException
- Specified by:
invoke in interface javax.ws.rs.client.Invocation
- Throws:
javax.ws.rs.ProcessingException
javax.ws.rs.WebApplicationException
invoke
public <T> T invoke(java.lang.Class<T> responseType)
throws javax.ws.rs.ProcessingException,
javax.ws.rs.WebApplicationException
- Specified by:
invoke in interface javax.ws.rs.client.Invocation
- Throws:
javax.ws.rs.ProcessingException
javax.ws.rs.WebApplicationException
invoke
public <T> T invoke(javax.ws.rs.core.GenericType<T> responseType)
throws javax.ws.rs.ProcessingException,
javax.ws.rs.WebApplicationException
- Specified by:
invoke in interface javax.ws.rs.client.Invocation
- Throws:
javax.ws.rs.ProcessingException
javax.ws.rs.WebApplicationException
submit
public java.util.concurrent.Future<javax.ws.rs.core.Response> submit()
- Specified by:
submit in interface javax.ws.rs.client.Invocation
submit
public <T> java.util.concurrent.Future<T> submit(java.lang.Class<T> responseType)
- Specified by:
submit in interface javax.ws.rs.client.Invocation
submit
public <T> java.util.concurrent.Future<T> submit(javax.ws.rs.core.GenericType<T> responseType)
- Specified by:
submit in interface javax.ws.rs.client.Invocation
submit
public <T> java.util.concurrent.Future<T> submit(javax.ws.rs.client.InvocationCallback<T> callback)
- Specified by:
submit in interface javax.ws.rs.client.Invocation
property
public JerseyInvocation property(java.lang.String name,
java.lang.Object value)
- Specified by:
property in interface javax.ws.rs.client.Invocation
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.