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 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 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 class AbstractBinder