Class 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 Detail

      • JettyBinder

        private JettyBinder()
    • 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 class AbstractBinder