Class HttpRequest

java.lang.Object
com.arpnetworking.clusteraggregator.models.HttpRequest

public final class HttpRequest extends Object
Represents a parsable HTTP request.
Author:
Brandon Arp (brandon dot arp at smartsheet dot com)
  • Constructor Details

    • HttpRequest

      public HttpRequest(String path, com.google.common.collect.ImmutableMultimap<String,String> headers, org.apache.pekko.util.ByteString body)
      Public constructor.
      Parameters:
      path - The path.
      headers - The headers.
      body - The body of the request.
  • Method Details

    • getPath

      public String getPath()
    • getHeaders

      public com.google.common.collect.Multimap<String,String> getHeaders()
    • getBody

      public org.apache.pekko.util.ByteString getBody()