public interface ExtendedServletContainerProvider extends ServletContainerProvider
HttpServletRequest
and HttpServletResponse
binding implementation in HK2 locator and also an implementation of RequestScopedInitializer
that is used to set actual request/response references in injection manager within each request.Modifier and Type | Method and Description |
---|---|
boolean |
bindsServletRequestResponse()
Used by Jersey runtime to tell if the extension covers HTTP Servlet request response
handling with respect to underlying injection manager.
|
RequestScopedInitializerProvider |
getRequestScopedInitializerProvider()
Give me a
RequestScopedInitializerProvider instance, that will be utilized
at runtime to set the actual HTTP Servlet request and response. |
configure, onRegister, postInit, preInit
RequestScopedInitializerProvider getRequestScopedInitializerProvider()
RequestScopedInitializerProvider
instance, that will be utilized
at runtime to set the actual HTTP Servlet request and response.
The provider returned will be used at runtime for every and each incoming request
so that the actual request/response instances could be made accessible
from Jersey injection manager.boolean bindsServletRequestResponse()
true
, if your implementation configures HK2 bindings
for HttpServletRequest
and HttpServletResponse
in ServletContainerProvider.configure(ResourceConfig)
method
and also provides a RequestScopedInitializer
implementation
via getRequestScopedInitializerProvider()
.true
if the extension fully covers HTTP request/response handling.Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.