org.glassfish.jersey.client
Class Client
java.lang.Object
org.glassfish.jersey.client.Client
- All Implemented Interfaces:
- javax.ws.rs.client.Client
public class Client
- extends Object
- implements javax.ws.rs.client.Client
- Author:
- Marek Potociar (marek.potociar at oracle.com)
|
Constructor Summary |
protected |
Client(Configuration configuration,
Inflector<javax.ws.rs.core.Request,javax.ws.rs.core.Response> transport,
List<org.glassfish.hk2.Module> customModules)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Client
protected Client(Configuration configuration,
Inflector<javax.ws.rs.core.Request,javax.ws.rs.core.Response> transport,
List<org.glassfish.hk2.Module> customModules)
close
public void close()
- Specified by:
close in interface javax.ws.rs.client.Client
isClosed
public boolean isClosed()
- Check client state.
- Returns:
true if current Client instance is closed, otherwise false.- See Also:
close()
configuration
public Configuration configuration()
- Specified by:
configuration in interface javax.ws.rs.client.Client
target
public Target target(String uri)
throws IllegalArgumentException,
NullPointerException
- Specified by:
target in interface javax.ws.rs.client.Client
- Throws:
IllegalArgumentException
NullPointerException
target
public Target target(URI uri)
throws NullPointerException
- Specified by:
target in interface javax.ws.rs.client.Client
- Throws:
NullPointerException
target
public Target target(javax.ws.rs.core.UriBuilder uriBuilder)
throws NullPointerException
- Specified by:
target in interface javax.ws.rs.client.Client
- Throws:
NullPointerException
target
public Target target(javax.ws.rs.core.Link link)
throws NullPointerException
- Specified by:
target in interface javax.ws.rs.client.Client
- Throws:
NullPointerException
invocation
public javax.ws.rs.client.Invocation invocation(javax.ws.rs.core.Link link)
throws NullPointerException,
IllegalArgumentException
- Specified by:
invocation in interface javax.ws.rs.client.Client
- Throws:
NullPointerException
IllegalArgumentException
invocation
public javax.ws.rs.client.Invocation invocation(javax.ws.rs.core.Link link,
javax.ws.rs.client.Entity<?> entity)
throws NullPointerException,
IllegalArgumentException
- Specified by:
invocation in interface javax.ws.rs.client.Client
- Throws:
NullPointerException
IllegalArgumentException
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.