org.glassfish.jersey.client
Class ClientModule

java.lang.Object
  extended by org.glassfish.jersey.internal.inject.AbstractModule
      extended by org.glassfish.jersey.client.ClientModule
All Implemented Interfaces:
org.glassfish.hk2.BinderFactory, org.glassfish.hk2.Module

public class ClientModule
extends AbstractModule

Registers all modules necessary for Client runtime.

Author:
Marek Potociar (marek.potociar at oracle.com), Jakub Podlesak (jakub.podlesak at oracle.com)

Constructor Summary
ClientModule(Inflector<javax.ws.rs.core.Request,javax.ws.rs.core.Response> connector)
          Creates ClientModule with custom connector.
 
Method Summary
protected  void configure()
           
 
Methods inherited from class org.glassfish.jersey.internal.inject.AbstractModule
bind, bind, bind, bind, bind, configure, inParent, install
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientModule

public ClientModule(Inflector<javax.ws.rs.core.Request,javax.ws.rs.core.Response> connector)
Creates ClientModule with custom connector.

Parameters:
connector - used for transforming Request to Response
See Also:
Inflector
Method Detail

configure

protected void configure()
Specified by:
configure in class AbstractModule


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