Class WebMessage

Direct Known Subclasses:
WebRequest, WebResponse

@AnyThread public abstract class WebMessage extends Object
This is an abstract base class for HTTP request and response types.
  • Field Details

    • uri

      @NonNull public final String uri
      The URI for the request or response.
    • headers

      @NonNull public final Map<String,String> headers
      An unmodifiable Map of headers. Defaults to an empty instance.
  • Constructor Details