org.glassfish.jersey.client
Class JerseyClientFactory

java.lang.Object
  extended by javax.ws.rs.client.ClientFactory
      extended by org.glassfish.jersey.client.JerseyClientFactory

public class JerseyClientFactory
extends ClientFactory

Jersey provider of JAX-RS client factory.

Author:
Marek Potociar (marek.potociar at oracle.com)

Field Summary
 
Fields inherited from class javax.ws.rs.client.ClientFactory
JAXRS_DEFAULT_CLIENT_FACTORY_PROPERTY
 
Constructor Summary
JerseyClientFactory()
           
 
Method Summary
protected  Client getClient()
          Get a new client instance.
protected  Client getClient(Configurable configuration)
          Get a new pre-configured client instance.
 
Methods inherited from class javax.ws.rs.client.ClientFactory
newClient, newClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JerseyClientFactory

public JerseyClientFactory()
Method Detail

getClient

protected Client getClient()
Description copied from class: ClientFactory
Get a new client instance.

Specified by:
getClient in class ClientFactory
Returns:
a new client instance.

getClient

protected Client getClient(Configurable configuration)
Description copied from class: ClientFactory
Get a new pre-configured client instance.

Specified by:
getClient in class ClientFactory
Parameters:
configuration - data used to provide initial configuration for the new client instance.
Returns:
a new client instance.


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