Package org.glassfish.jersey.jetty
Class JettyHttpContainer.JettyBinder
java.lang.Object
org.glassfish.jersey.internal.inject.AbstractBinder
org.glassfish.jersey.jetty.JettyHttpContainer.JettyBinder
- All Implemented Interfaces:
Binder
- Enclosing class:
JettyHttpContainer
An internal binder to enable Jetty HTTP container specific types injection.
This binder allows to inject underlying Jetty HTTP request and response instances.
Note that since Jetty
Request
class is not proxiable as it does not expose an empty constructor,
the injection of Jetty request instance into singleton JAX-RS and Jersey providers is only supported via
injection provider
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Implement to provide binding definitions using the exposed binding methods.Methods inherited from class org.glassfish.jersey.internal.inject.AbstractBinder
bind, bind, bind, bindAsContract, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, createManagedInstanceProvider, getBindings, install
-
Constructor Details
-
JettyBinder
private JettyBinder()
-
-
Method Details
-
configure
protected void configure()Description copied from class:AbstractBinder
Implement to provide binding definitions using the exposed binding methods.- Specified by:
configure
in classAbstractBinder
-