Interface Request

All Superinterfaces:
HttpMessage
All Known Implementing Classes:
DefaultRequest

public interface Request extends HttpMessage
Since:
0.5.0
  • Method Details

    • getMethod

      HttpMethod getMethod()
    • getResourceUrl

      URI getResourceUrl()
      Returns the request target resource's Uniform Resource Locator location without a query string. Query string parameters are maintained separately via the queryString property.

      This URI can be thought of the request fully qualified URL before any question mark indicating query parameters, e.g. the parts in bold only:

      https://some.host.com/some/resource/path/here?some=param&another=param.

      Any potential question mark itself and anything after it are not included.

      Returns:
      the request target resource's Uniform Resource Locator location without a query string.
    • getQueryString

      QueryString getQueryString()
    • setQueryString

      void setQueryString(QueryString queryString)