Class RequestContext


  • public class RequestContext
    extends Object
    Context containing all important info about a request.
    • Constructor Detail

      • RequestContext

        public RequestContext​(Map<String,​Set<String>> headers,
                              URI uri,
                              HttpClient.Method method,
                              Object body)
        Construct a request context.
        Parameters:
        headers - map of all headers
        uri - uri of the request
        method - verb to be used
        body - optional body of request