|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SyncInvoker
Uniform interface for synchronous invocation of HTTP methods.
| Method Summary | ||
|---|---|---|
Response |
delete()
Invoke HTTP DELETE method for the current request synchronously. |
|
|
delete(java.lang.Class<T> responseType)
Invoke HTTP DELETE method for the current request synchronously. |
|
|
delete(GenericType<T> responseType)
Invoke HTTP DELETE method for the current request synchronously. |
|
Response |
get()
Invoke HTTP GET method for the current request synchronously. |
|
|
get(java.lang.Class<T> responseType)
Invoke HTTP GET method for the current request synchronously. |
|
|
get(GenericType<T> responseType)
Invoke HTTP GET method for the current request synchronously. |
|
Response |
head()
Invoke HTTP HEAD method for the current request synchronously. |
|
Response |
method(java.lang.String name)
Invoke an arbitrary method for the current request synchronously. |
|
|
method(java.lang.String name,
java.lang.Class<T> responseType)
Invoke an arbitrary method for the current request synchronously. |
|
Response |
method(java.lang.String name,
Entity<?> entity)
Invoke an arbitrary method for the current request synchronously. |
|
|
method(java.lang.String name,
Entity<?> entity,
java.lang.Class<T> responseType)
Invoke an arbitrary method for the current request synchronously. |
|
|
method(java.lang.String name,
Entity<?> entity,
GenericType<T> responseType)
Invoke an arbitrary method for the current request synchronously. |
|
|
method(java.lang.String name,
GenericType<T> responseType)
Invoke an arbitrary method for the current request synchronously. |
|
Response |
options()
Invoke HTTP OPTIONS method for the current request synchronously. |
|
|
options(java.lang.Class<T> responseType)
Invoke HTTP OPTIONS method for the current request synchronously. |
|
|
options(GenericType<T> responseType)
Invoke HTTP OPTIONS method for the current request synchronously. |
|
Response |
post(Entity<?> entity)
Invoke HTTP POST method for the current request synchronously. |
|
|
post(Entity<?> entity,
java.lang.Class<T> responseType)
Invoke HTTP POST method for the current request synchronously. |
|
|
post(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP POST method for the current request synchronously. |
|
Response |
put(Entity<?> entity)
Invoke HTTP PUT method for the current request synchronously. |
|
|
put(Entity<?> entity,
java.lang.Class<T> responseType)
Invoke HTTP PUT method for the current request synchronously. |
|
|
put(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP PUT method for the current request synchronously. |
|
Response |
trace(Entity<?> entity)
Invoke HTTP TRACE method for the current request synchronously. |
|
|
trace(Entity<?> entity,
java.lang.Class<T> responseType)
Invoke HTTP TRACE method for the current request synchronously. |
|
|
trace(Entity<?> entity,
GenericType<T> responseType)
Invoke HTTP TRACE method for the current request synchronously. |
|
| Method Detail |
|---|
Response get()
throws InvocationException
InvocationException - in case the invocation failed.
<T> T get(java.lang.Class<T> responseType)
throws InvocationException
T - response entity type.responseType - Java type the response entity will be converted to.
InvocationException - in case the invocation failed.
<T> T get(GenericType<T> responseType)
throws InvocationException
T - generic response entity type.responseType - representation of a generic Java type the response
entity will be converted to.
InvocationException - in case the invocation failed.
Response put(Entity<?> entity)
throws InvocationException
entity - request entity.
InvocationException - in case the invocation failed.
<T> T put(Entity<?> entity,
java.lang.Class<T> responseType)
throws InvocationException
T - response entity type.entity - request entity.responseType - Java type the response entity will be converted to.
InvocationException - in case the invocation failed.
<T> T put(Entity<?> entity,
GenericType<T> responseType)
throws InvocationException
T - generic response entity type.entity - request entity.responseType - representation of a generic Java type the response
entity will be converted to.
InvocationException - in case the invocation failed.
Response post(Entity<?> entity)
throws InvocationException
entity - request entity.
InvocationException - in case the invocation failed.
<T> T post(Entity<?> entity,
java.lang.Class<T> responseType)
throws InvocationException
T - response entity type.entity - request entity.responseType - Java type the response entity will be converted to.
InvocationException - in case the invocation failed.
<T> T post(Entity<?> entity,
GenericType<T> responseType)
throws InvocationException
T - generic response entity type.entity - request entity.responseType - representation of a generic Java type the response
entity will be converted to.
InvocationException - in case the invocation failed.
Response delete()
throws InvocationException
InvocationException - in case the invocation failed.
<T> T delete(java.lang.Class<T> responseType)
throws InvocationException
T - response entity type.responseType - Java type the response entity will be converted to.
InvocationException - in case the invocation failed.
<T> T delete(GenericType<T> responseType)
throws InvocationException
T - generic response entity type.responseType - representation of a generic Java type the response
entity will be converted to.
InvocationException - in case the invocation failed.
Response head()
throws InvocationException
InvocationException - in case the invocation failed.
Response options()
throws InvocationException
InvocationException - in case the invocation failed.
<T> T options(java.lang.Class<T> responseType)
throws InvocationException
T - response entity type.responseType - Java type the response entity will be converted to.
InvocationException - in case the invocation failed.
<T> T options(GenericType<T> responseType)
throws InvocationException
T - generic response entity type.responseType - representation of a generic Java type the response
entity will be converted to.
InvocationException - in case the invocation failed.
Response trace(Entity<?> entity)
throws InvocationException
entity - request entity.
InvocationException - in case the invocation failed.
<T> T trace(Entity<?> entity,
java.lang.Class<T> responseType)
throws InvocationException
T - response entity type.entity - request entity.responseType - Java type the response entity will be converted to.
InvocationException - in case the invocation failed.
<T> T trace(Entity<?> entity,
GenericType<T> responseType)
throws InvocationException
T - generic response entity type.entity - request entity.responseType - representation of a generic Java type the response
entity will be converted to.
InvocationException - in case the invocation failed.
Response method(java.lang.String name)
throws InvocationException
name - method name.
InvocationException - in case the invocation failed.
<T> T method(java.lang.String name,
java.lang.Class<T> responseType)
throws InvocationException
T - response entity type.name - method name.responseType - Java type the response entity will be converted to.
InvocationException - in case the invocation failed.
<T> T method(java.lang.String name,
GenericType<T> responseType)
throws InvocationException
T - generic response entity type.name - method name.responseType - representation of a generic Java type the response
entity will be converted to.
InvocationException - in case the invocation failed.
Response method(java.lang.String name,
Entity<?> entity)
throws InvocationException
name - method name.entity - request entity.
InvocationException - in case the invocation failed.
<T> T method(java.lang.String name,
Entity<?> entity,
java.lang.Class<T> responseType)
throws InvocationException
T - response entity type.name - method name.entity - request entity.responseType - Java type the response entity will be converted to.
InvocationException - in case the invocation failed.
<T> T method(java.lang.String name,
Entity<?> entity,
GenericType<T> responseType)
throws InvocationException
T - generic response entity type.name - method name.entity - request entity.responseType - representation of a generic Java type the response
entity will be converted to.
InvocationException - in case the invocation failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||