org.glassfish.jersey.servlet.spi
Interface AsyncContextDelegateProvider
- All Known Implementing Classes:
- AsyncContextDelegateProviderImpl
public interface AsyncContextDelegateProvider
Factory to create AsyncContextDelegate to deal with asynchronous
features added in Servlet version 3.0.
If no such a factory is registered via the META-INF/services mechanism
a default factory for Servlet versions prior to 3.0 will be utilized with no async support.
- Author:
- Jakub Podlesak (jakub.podlesak at oracle.com)
|
Method Summary |
AsyncContextDelegate |
createDelegate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Factory method to create instances of Servlet container response writer extension,
AsyncContextDelegate, for response processing. |
createDelegate
AsyncContextDelegate createDelegate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Factory method to create instances of Servlet container response writer extension,
AsyncContextDelegate, for response processing.
- Parameters:
request - original request.response - original response.
- Returns:
- an instance to be used throughout a single response write processing.
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.