Class AsyncContextDelegateProviderImpl
java.lang.Object
org.glassfish.jersey.servlet.async.AsyncContextDelegateProviderImpl
- All Implemented Interfaces:
AsyncContextDelegateProvider
public class AsyncContextDelegateProviderImpl
extends Object
implements AsyncContextDelegateProvider
Servlet 3.x container response writer async extension and related extension factory implementation.
- Author:
- Jakub Podlesak, Marek Potociar
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal AsyncContextDelegate
createDelegate
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Factory method to create instances of Servlet container response writer extension,AsyncContextDelegate
, for response processing.
-
Constructor Details
-
AsyncContextDelegateProviderImpl
public AsyncContextDelegateProviderImpl()
-
-
Method Details
-
createDelegate
public final AsyncContextDelegate createDelegate(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Description copied from interface:AsyncContextDelegateProvider
Factory method to create instances of Servlet container response writer extension,AsyncContextDelegate
, for response processing.- Specified by:
createDelegate
in interfaceAsyncContextDelegateProvider
- Parameters:
request
- original request.response
- original response.- Returns:
- an instance to be used throughout a single response write processing.
-