org.glassfish.jersey.grizzly.connector
Class GrizzlyConnector
java.lang.Object
org.glassfish.jersey.client.RequestWriter
org.glassfish.jersey.grizzly.connector.GrizzlyConnector
- All Implemented Interfaces:
- Connector, Inflector<ClientRequest,ClientResponse>
public class GrizzlyConnector
- extends RequestWriter
- implements Connector
The transport using the AsyncHttpClient.
- Author:
- Stepan Kopriva (stepan.kopriva at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrizzlyConnector
public GrizzlyConnector(Configuration config)
- Create the new Grizzly async client connector.
- Parameters:
config - client configuration.
apply
public ClientResponse apply(ClientRequest requestContext)
- Specified by:
apply in interface Connector- Specified by:
apply in interface Inflector<ClientRequest,ClientResponse>
apply
public Future<?> apply(ClientRequest request,
AsyncConnectorCallback callback)
- Specified by:
apply in interface Connector
close
public void close()
- Specified by:
close in interface Connector
getName
public String getName()
- Specified by:
getName in interface Connector
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.