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
private static class JettyHttpContainer.JettyBinder extends AbstractBinder
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 JettyRequest
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 viainjection provider
.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
JettyBinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure()
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
-
-
-
-
Method Detail
-
configure
protected void configure()
Description copied from class:AbstractBinder
Implement to provide binding definitions using the exposed binding methods.- Specified by:
configure
in classAbstractBinder
-
-