Interface Request

  • All Known Implementing Classes:
    WebProxy.HttpRequest

    public interface Request
    The Request interface is a very minimal version of a HTTP request. We use this to decouple the main parts of the proxy server from a given implementation.

    This should be kept to a proper subset of javax.servlet.ServletRequest

    • Method Detail

      • getURI

        URI getURI()
        Get the URI from this request.
        Returns:
        The URI from this request.
      • getParameterMap

        Map<String,​String[]> getParameterMap()
        Get all parameters in this request. Note: This may only be accessible while handling the request, and invalidated when the request is handled.
        Returns:
        a map from parameter names to parameter values