org.refcodes.mixin.Dumpable, BasicAuthCredentialsAccessor, BasicAuthRequest, HttpMethodAccessor, UrlAccessorpublic class BasicAuthRequestImpl extends Object implements BasicAuthRequest
BasicAuthRequestImpl class implements the
BasicAuthRequest type.BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B extends BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder<B>>, BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator, BasicAuthCredentialsAccessor.BasicAuthCredentialsPropertyHttpMethodAccessor.HttpMethodBuilder<B extends HttpMethodAccessor.HttpMethodBuilder<B>>, HttpMethodAccessor.HttpMethodMutator, HttpMethodAccessor.HttpMethodPropertyUrlAccessor.UrlBuilder, UrlAccessor.UrlMutator, UrlAccessor.UrlProperty| Constructor | Description |
|---|---|
BasicAuthRequestImpl(HttpMethod aHttpMethod,
Url aUrl,
BasicAuthCredentials aCredentials) |
Constructs a
BasicAuthRequest instance with required attributes. |
| Modifier and Type | Method | Description |
|---|---|---|
BasicAuthCredentials |
getBasicAuthCredentials() |
Retrieves the
BasicAuthCredentials from the Basic-Authentication
credentials property (or null if there are none such credentials). |
HttpMethod |
getHttpMethod() |
Retrieves the HTTP-Method from the HTTP-Method property.
|
Url |
getUrl() |
public BasicAuthRequestImpl(HttpMethod aHttpMethod, Url aUrl, BasicAuthCredentials aCredentials)
BasicAuthRequest instance with required attributes.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.public BasicAuthCredentials getBasicAuthCredentials()
BasicAuthCredentials from the Basic-Authentication
credentials property (or null if there are none such credentials).getBasicAuthCredentials in interface BasicAuthCredentialsAccessorBasicAuthCredentials stored by the basic
authentication credentials property (or null if there are none
such credentials).public HttpMethod getHttpMethod()
getHttpMethod in interface HttpMethodAccessorpublic Url getUrl()
getUrl in interface UrlAccessorUrl property.Copyright © 2018. All rights reserved.