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. |
Modifier and Type | Method and Description |
---|---|
static AuthType |
AuthType.fromName(String aName)
Returns that
AuthType represented by the given name. |
default AuthType |
BasicAuthCredentials.getAuthType()
Gets the auth type.
|
default AuthType |
BearerAuthCredentials.getAuthType()
Gets the auth type.
|
AuthType |
AuthTypeAccessor.getAuthType()
Retrieves the
AuthType from the Authorization-Type property (or
null if there are none such credentials). |
static AuthType |
AuthType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthType[] |
AuthType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
AuthTypeAccessor.AuthTypeMutator.setAuthType(AuthType aAuthType)
Sets the
AuthType for the Authorization-Type property. |
B |
AuthTypeAccessor.AuthTypeBuilder.withAuthType(AuthType aAuthType)
Sets the
AuthType for the Authorization-Type property. |
Copyright © 2017. All rights reserved.