javax.ws.rs.client
Interface SyncInvoker

All Known Subinterfaces:
Invocation.Builder

public interface SyncInvoker

TODO javadoc.

Since:
2.0
Author:
Marek Potociar

Method Summary
 Response delete()
           
<T> T
delete(java.lang.Class<T> responseType)
           
<T> T
delete(TypeLiteral<T> responseType)
           
 Response get()
           
<T> T
get(java.lang.Class<T> responseType)
           
<T> T
get(TypeLiteral<T> responseType)
           
 Response head()
           
 Response method(java.lang.String name)
           
<T> T
method(java.lang.String name, java.lang.Class<T> responseType)
           
 Response method(java.lang.String name, Entity<?> entity)
           
<T> T
method(java.lang.String name, Entity<?> entity, java.lang.Class<T> responseType)
           
<T> T
method(java.lang.String name, Entity<?> entity, TypeLiteral<T> responseType)
           
<T> T
method(java.lang.String name, TypeLiteral<T> responseType)
           
 Response options()
           
<T> T
options(java.lang.Class<T> responseType)
           
<T> T
options(TypeLiteral<T> responseType)
           
 Response post(Entity<?> entity)
           
<T> T
post(Entity<?> entity, java.lang.Class<T> responseType)
           
<T> T
post(Entity<?> entity, TypeLiteral<T> responseType)
           
 Response put(Entity<?> entity)
           
<T> T
put(Entity<?> entity, java.lang.Class<T> responseType)
           
<T> T
put(Entity<?> entity, TypeLiteral<T> responseType)
           
 Response trace(Entity<?> entity)
           
<T> T
trace(Entity<?> entity, java.lang.Class<T> responseType)
           
<T> T
trace(Entity<?> entity, TypeLiteral<T> responseType)
           
 

Method Detail

get

Response get()
             throws InvocationException
Throws:
InvocationException

get

<T> T get(java.lang.Class<T> responseType)
      throws InvocationException
Throws:
InvocationException

get

<T> T get(TypeLiteral<T> responseType)
      throws InvocationException
Throws:
InvocationException

put

Response put(Entity<?> entity)
             throws InvocationException
Throws:
InvocationException

put

<T> T put(Entity<?> entity,
          java.lang.Class<T> responseType)
      throws InvocationException
Throws:
InvocationException

put

<T> T put(Entity<?> entity,
          TypeLiteral<T> responseType)
      throws InvocationException
Throws:
InvocationException

post

Response post(Entity<?> entity)
              throws InvocationException
Throws:
InvocationException

post

<T> T post(Entity<?> entity,
           java.lang.Class<T> responseType)
       throws InvocationException
Throws:
InvocationException

post

<T> T post(Entity<?> entity,
           TypeLiteral<T> responseType)
       throws InvocationException
Throws:
InvocationException

delete

Response delete()
                throws InvocationException
Throws:
InvocationException

delete

<T> T delete(java.lang.Class<T> responseType)
         throws InvocationException
Throws:
InvocationException

delete

<T> T delete(TypeLiteral<T> responseType)
         throws InvocationException
Throws:
InvocationException

head

Response head()
              throws InvocationException
Throws:
InvocationException

options

Response options()
                 throws InvocationException
Throws:
InvocationException

options

<T> T options(java.lang.Class<T> responseType)
          throws InvocationException
Throws:
InvocationException

options

<T> T options(TypeLiteral<T> responseType)
          throws InvocationException
Throws:
InvocationException

trace

Response trace(Entity<?> entity)
               throws InvocationException
Throws:
InvocationException

trace

<T> T trace(Entity<?> entity,
            java.lang.Class<T> responseType)
        throws InvocationException
Throws:
InvocationException

trace

<T> T trace(Entity<?> entity,
            TypeLiteral<T> responseType)
        throws InvocationException
Throws:
InvocationException

method

Response method(java.lang.String name)
                throws InvocationException
Throws:
InvocationException

method

<T> T method(java.lang.String name,
             java.lang.Class<T> responseType)
         throws InvocationException
Throws:
InvocationException

method

<T> T method(java.lang.String name,
             TypeLiteral<T> responseType)
         throws InvocationException
Throws:
InvocationException

method

Response method(java.lang.String name,
                Entity<?> entity)
                throws InvocationException
Throws:
InvocationException

method

<T> T method(java.lang.String name,
             Entity<?> entity,
             java.lang.Class<T> responseType)
         throws InvocationException
Throws:
InvocationException

method

<T> T method(java.lang.String name,
             Entity<?> entity,
             TypeLiteral<T> responseType)
         throws InvocationException
Throws:
InvocationException


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