org.glassfish.jersey.client
Class JerseyClient
java.lang.Object
org.glassfish.jersey.client.JerseyClient
- All Implemented Interfaces:
- javax.ws.rs.client.Client
public class JerseyClient
- extends Object
- implements javax.ws.rs.client.Client
Jersey implementation of JAX-RS JerseyClient
contract.
- Author:
- Marek Potociar (marek.potociar at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JerseyClient
protected JerseyClient(JerseyConfiguration jerseyConfiguration,
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 JerseyClient instance is closed, otherwise false.- See Also:
close()
configuration
public JerseyConfiguration 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.