Class BasicAuthRequest

java.lang.Object
org.refcodes.web.BasicAuthRequest
All Implemented Interfaces:
org.refcodes.mixin.Dumpable, BasicAuthCredentialsAccessor, HttpMethodAccessor, UrlAccessor

public class BasicAuthRequest extends Object implements BasicAuthCredentialsAccessor, HttpMethodAccessor, UrlAccessor, org.refcodes.mixin.Dumpable
Defines a BasicAuthRequest describes a Baisc-Auth request as of HTTP. See also "https://en.wikipedia.org/wiki/Basic_access_authentication".
  • Constructor Details

    • BasicAuthRequest

      public BasicAuthRequest(HttpMethod aHttpMethod, Url aUrl, BasicAuthCredentials aCredentials)
      Constructs a BasicAuthRequest instance with required attributes.
      Parameters:
      aHttpMethod - The HttpMethod with which the request has been sent.
      aUrl - The Url from which to take the URL specific data.
      aCredentials - The credentials retrieved from the request.
  • Method Details