Package | Description |
---|---|
org.refcodes.net |
Use the types and definitions of this artifact when you are tired of defining
your own networking based basics, your own HTTP-status-code enumerations
(
HttpStatusCode or exceptions representing erroneous
HTTP state, or if you are tired of cookie handling, Header-Field processing
... and so on:
This artifact provides various types such as Cookie ,
FormFields , HeaderFields or
HttpMethod , which enable you to use such HTTP based
structures in a native Java way while having a tool at hand to bridge back
into the HTTP protocol world. |
org.refcodes.net.impls |
This package contains implementations of the types defined by this artifact.
|
Modifier and Type | Method and Description |
---|---|
default BearerAuthCredentials |
HeaderFields.getBearerAuthCredentials()
Retrieves the
BearerAuthCredentials from the request (or null if
there are none such credentials). |
BearerAuthCredentials |
BearerAuthCredentialsAccessor.getBearerAuthCredentials()
Retrieves the
BearerAuthCredentials from the bearer
authentication credentials property (or null if there are none such
credentials). |
default BearerAuthCredentials |
HeaderFields.putBearerAuthCredentials(BearerAuthCredentials aBearerAuthCredentials)
Sets the
BearerAuthCredentials (token) for HTTP bearer
authentication. |
BearerAuthCredentials |
BearerAuthCredentialsAccessor.BearerAuthCredentialsMutator.putBearerAuthCredentials(BearerAuthCredentials aBearerAuthCredentials)
Sets the
BearerAuthCredentials for the bearer authentication
credentials property. |
default BearerAuthCredentials |
BearerAuthCredentialsAccessor.BearerAuthCredentialsMutator.putBearerAuthCredentials(String aToken)
Sets the
BearerAuthCredentials from the token for the bearer
authentication credentials property. |
default BearerAuthCredentials |
HeaderFields.removeBearerAuthCredentials()
Removes the
BearerAuthCredentials (token) for HTTP bearer
authentication. |
static BearerAuthCredentials |
BearerAuthCredentials.toBearerAuthCredentials()
Factory method to create an
BearerAuthCredentials instance to be
tailored with the according properties. |
static BearerAuthCredentials |
BearerAuthCredentials.toBearerAuthCredentials(String aToken)
Factory method to create an
BearerAuthCredentials instance from
the provided user-name and password. |
default BearerAuthCredentials |
BearerAuthCredentials.withHttpAuthorization(String aHttpAuthorization)
With http authorization.
|
Modifier and Type | Method and Description |
---|---|
default BearerAuthCredentials |
HeaderFields.putBearerAuthCredentials(BearerAuthCredentials aBearerAuthCredentials)
Sets the
BearerAuthCredentials (token) for HTTP bearer
authentication. |
BearerAuthCredentials |
BearerAuthCredentialsAccessor.BearerAuthCredentialsMutator.putBearerAuthCredentials(BearerAuthCredentials aBearerAuthCredentials)
Sets the
BearerAuthCredentials for the bearer authentication
credentials property. |
default B |
HeaderFields.withBearerAuthCredentials(BearerAuthCredentials aBearerAuthCredentials)
Sets the
BearerAuthCredentials (token) for HTTP bearer
authentication. |
B |
BearerAuthCredentialsAccessor.BearerAuthCredentialsBuilder.withBearerAuthCredentials(BearerAuthCredentials aBearerAuthCredentials)
Sets the
BearerAuthCredentials for the bearer authentication
credentials property. |
Modifier and Type | Class and Description |
---|---|
class |
BearerAuthCredentialsImpl
Implementation of the
BearerAuthCredentials interface. |
Copyright © 2017. All rights reserved.