Class GetMethodWebRequest


public class GetMethodWebRequest extends HeaderOnlyWebRequest
An HTTP request using the GET method.
  • Constructor Details

    • GetMethodWebRequest

      public GetMethodWebRequest(String urlString)
      Constructs a web request using a specific absolute url string.
    • GetMethodWebRequest

      public GetMethodWebRequest(URL urlBase, String urlString)
      Constructs a web request using a base URL and a relative url string.
    • GetMethodWebRequest

      public GetMethodWebRequest(URL urlBase, String urlString, String target)
      Constructs a web request with a specific target.
  • Method Details

    • getMethod

      public String getMethod()
      Returns the HTTP method defined for this request.
      Overrides:
      getMethod in class WebRequest
      Returns:
      the method