|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.client.JerseyClient
public class JerseyClient
Jersey implementation of JAX-RS JerseyClient
contract.
| Constructor Summary | |
|---|---|
protected |
JerseyClient()
Create a new Jersey client instance using a default configuration. |
protected |
JerseyClient(Configurable configuration)
Create a new Jersey client instance. |
| Method Summary | |
|---|---|
void |
addListener(org.glassfish.jersey.client.JerseyClient.LifecycleListener listener)
Add a new client lifecycle listener. |
void |
close()
|
ClientConfig |
configuration()
|
JerseyInvocation.Builder |
invocation(Link link)
|
boolean |
isClosed()
Check client state. |
JerseyWebTarget |
target(Link link)
|
JerseyWebTarget |
target(String uri)
|
JerseyWebTarget |
target(URI uri)
|
JerseyWebTarget |
target(UriBuilder uriBuilder)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected JerseyClient()
protected JerseyClient(Configurable configuration)
configuration - jersey client configuration.| Method Detail |
|---|
public void close()
close in interface Clientpublic void addListener(org.glassfish.jersey.client.JerseyClient.LifecycleListener listener)
listener - client lifecycle listener.public boolean isClosed()
true if current JerseyClient instance is closed, otherwise false.close()public ClientConfig configuration()
configuration in interface Client
public JerseyWebTarget target(String uri)
throws IllegalArgumentException,
NullPointerException
target in interface ClientIllegalArgumentException
NullPointerException
public JerseyWebTarget target(URI uri)
throws NullPointerException
target in interface ClientNullPointerException
public JerseyWebTarget target(UriBuilder uriBuilder)
throws NullPointerException
target in interface ClientNullPointerException
public JerseyWebTarget target(Link link)
throws NullPointerException
target in interface ClientNullPointerException
public JerseyInvocation.Builder invocation(Link link)
throws NullPointerException,
IllegalArgumentException
invocation in interface ClientNullPointerException
IllegalArgumentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||