Interface ProxyEngine

All Known Implementing Classes:
DefaultApache31ProxyEngine, DefaultSimpleProxyEngine, MockProxyEngine

@Deprecated(since="2211", forRemoval=true) public interface ProxyEngine
Deprecated, for removal: This API element is subject to removal in a future version.
Proxies HTTP content.
  • Method Summary

    Modifier and Type
    Method
    Description
    extractNamespace(javax.servlet.http.HttpServletRequest request)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Extracts the namespace coming from client.
    void
    proxy(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String namespace, String url, boolean forceGetMethod, Map<String,String> headers)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Proxies content
  • Method Details

    • proxy

      void proxy(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String namespace, String url, boolean forceGetMethod, Map<String,String> headers) throws ProxyException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Proxies content
      Parameters:
      request - The HttpServletRequest associated to the call
      response - The HttpServletResponse associated to the call
      namespace - Used for HTML element's id generation
      url - The url to be called
      forceGetMethod - Useful when proxying content, when false it uses the same method used in the original request.
      headers - Extra headers to be passed to the connection, useful for authentication headers.
      Throws:
      ProxyException
    • extractNamespace

      String extractNamespace(javax.servlet.http.HttpServletRequest request)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Extracts the namespace coming from client.
      Parameters:
      request -