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
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • Method Details

    • createDelegate

      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.
      Parameters:
      request - original request.
      response - original response.
      Returns:
      an instance to be used throughout a single response write processing.