com.atlassian.jira.functest.framework.jerseyclient
Class ApacheClientFactoryImpl

java.lang.Object
  extended by com.atlassian.jira.functest.framework.jerseyclient.ApacheClientFactoryImpl
All Implemented Interfaces:
JerseyClientFactory

public class ApacheClientFactoryImpl
extends Object
implements JerseyClientFactory

Factory for Jersey clients that use Apache HttpClient.

Since:
v4.3

Constructor Summary
ApacheClientFactoryImpl()
          Creates a ClientFactory with the default configuration, which uses Jackson as the JSON marshaller.
ApacheClientFactoryImpl(com.sun.jersey.api.client.config.ClientConfig config)
          Creates a ClientFactory with the provided configuration.
 
Method Summary
 com.sun.jersey.api.client.Client create()
          Creates a Jersey client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApacheClientFactoryImpl

public ApacheClientFactoryImpl()
Creates a ClientFactory with the default configuration, which uses Jackson as the JSON marshaller.


ApacheClientFactoryImpl

public ApacheClientFactoryImpl(com.sun.jersey.api.client.config.ClientConfig config)
Creates a ClientFactory with the provided configuration.

Parameters:
config - a ClientConfig
Method Detail

create

public com.sun.jersey.api.client.Client create()
Creates a Jersey client.

Specified by:
create in interface JerseyClientFactory
Returns:
a new Client instance


Copyright © 2002-2011 Atlassian. All Rights Reserved.