Uses of Class
org.forgerock.http.header.MalformedHeaderException
-
Packages that use MalformedHeaderException Package Description org.forgerock.http.header Processes HTTP message header fields.org.forgerock.http.header.authorization Credentials classes for use with theAuthorizationHeader
.org.forgerock.http.protocol Models and manages elements of the Hypertext Transfer Protocol.org.forgerock.http.util Miscellaneous utility classes. -
-
Uses of MalformedHeaderException in org.forgerock.http.header
Methods in org.forgerock.http.header that throw MalformedHeaderException Modifier and Type Method Description protected AuthorizationHeader
AuthorizationHeader.Factory. parse(String value)
H
HeaderFactory. parse(Object value)
Create a header instance from a provided object representation.protected abstract H
HeaderFactory. parse(String value)
Create a header instance from String representation, which may contain multiple values if the header supports them.protected abstract H
HeaderFactory. parse(List<String> values)
Create a header instance from a list of String representations, each of which may in turn contain multiple values if the header supports them.<C> Optional<C>
AuthorizationHeader. parseCredentials(CredentialsParser<C> parser)
Parse the credentials to a rich type.AuthorizationHeader
AuthorizationHeader. setRawValue(String rawValue)
Set the raw value of the header.static AuthorizationHeader
AuthorizationHeader. valueOf(String value)
Parse a string as anAuthorization
header value.static AuthorizationHeader
AuthorizationHeader. valueOf(Message<?> message)
Constructs a new header, initialized from the specified message.static ReferrerHeader
ReferrerHeader. valueOf(String value)
Parse the provided value as aReferrer
header.static ReferrerHeader
ReferrerHeader. valueOf(Message<?> message)
Constructs a new header, initialized from the specified message.static SetCookie2Header
SetCookie2Header. valueOf(String value)
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new header, initialized from the specified string value.static SetCookie2Header
SetCookie2Header. valueOf(List<String> values)
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new header, initialized from the specified list ofSet-Cookie2
values.static SetCookie2Header
SetCookie2Header. valueOf(Response response)
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new header, initialized from the specified response message.static TransactionIdHeader
TransactionIdHeader. valueOf(String value)
Constructs a new header, initialized from the specified string value.static TransactionIdHeader
TransactionIdHeader. valueOf(Request request)
Constructs a new header, initialized from the specified request.static WwwAuthenticateHeader
WwwAuthenticateHeader. valueOf(List<String> values)
Obtain aWwwAuthenticateHeader
representation of the given header values.static WwwAuthenticateHeader
WwwAuthenticateHeader. valueOf(Response response)
Obtain aWwwAuthenticateHeader
representation of the headers in the given response.Constructors in org.forgerock.http.header that throw MalformedHeaderException Constructor Description TransactionIdHeader(String value)
Constructs a new header with the provided value for the transaction id. -
Uses of MalformedHeaderException in org.forgerock.http.header.authorization
Methods in org.forgerock.http.header.authorization that throw MalformedHeaderException Modifier and Type Method Description C
CredentialsParser. parse(String credentials)
Parse the provided credentials into a rich representation.Constructors in org.forgerock.http.header.authorization that throw MalformedHeaderException Constructor Description BearerToken(String token)
Construct a new set ofBearer
authorization credentials. -
Uses of MalformedHeaderException in org.forgerock.http.protocol
Methods in org.forgerock.http.protocol that throw MalformedHeaderException Modifier and Type Method Description <H extends Header>
HHeaders. get(Class<H> headerType)
Returns the specifiedHeader
or {code null} if the header is not included in the message. -
Uses of MalformedHeaderException in org.forgerock.http.util
Methods in org.forgerock.http.util that throw MalformedHeaderException Modifier and Type Method Description static com.fasterxml.jackson.databind.ObjectWriter
Json. makeLocalizingObjectWriter(com.fasterxml.jackson.databind.ObjectMapper mapper, Request request)
Make an object writer that contains the locales from the request for serialization ofLocalizableString
instances.
-