Uses of Class
org.forgerock.http.header.MalformedHeaderException
-
Packages that use MalformedHeaderException Package Description org.forgerock.http.client This package contains the classes and interfaces related to the implementation of the HTTP client, and its use in scripted modules.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.client
Methods in org.forgerock.http.client that throw MalformedHeaderException Modifier and Type Method Description protected HttpClientResponseChfHttpClient. getHttpClientResponse(String uri, String body, Map<String,List<Map<String,String>>> requestData, String method)Deprecated. -
Uses of MalformedHeaderException in org.forgerock.http.header
Methods in org.forgerock.http.header that throw MalformedHeaderException Modifier and Type Method Description protected AuthorizationHeaderAuthorizationHeader.Factory. parse(String value)HHeaderFactory. parse(Object value)Create a header instance from a provided object representation.protected abstract HHeaderFactory. parse(String value)Create a header instance from String representation, which may contain multiple values if the header supports them.protected abstract HHeaderFactory. 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.AuthorizationHeaderAuthorizationHeader. setRawValue(String rawValue)Set the raw value of the header.static AuthorizationHeaderAuthorizationHeader. valueOf(String value)Parse a string as anAuthorizationheader value.static AuthorizationHeaderAuthorizationHeader. valueOf(Message<?> message)Constructs a new header, initialized from the specified message.static ReferrerHeaderReferrerHeader. valueOf(String value)Parse the provided value as aReferrerheader.static ReferrerHeaderReferrerHeader. valueOf(Message<?> message)Constructs a new header, initialized from the specified message.static SetCookie2HeaderSetCookie2Header. 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 SetCookie2HeaderSetCookie2Header. 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-Cookie2values.static SetCookie2HeaderSetCookie2Header. 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 TransactionIdHeaderTransactionIdHeader. valueOf(String value)Constructs a new header, initialized from the specified string value.static TransactionIdHeaderTransactionIdHeader. valueOf(Request request)Constructs a new header, initialized from the specified request.static WwwAuthenticateHeaderWwwAuthenticateHeader. valueOf(List<String> values)Obtain aWwwAuthenticateHeaderrepresentation of the given header values.static WwwAuthenticateHeaderWwwAuthenticateHeader. valueOf(Response response)Obtain aWwwAuthenticateHeaderrepresentation 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 CCredentialsParser. 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 ofBearerauthorization 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 specifiedHeaderor {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.ObjectWriterJson. makeLocalizingObjectWriter(com.fasterxml.jackson.databind.ObjectMapper mapper, Request request)Make an object writer that contains the locales from the request for serialization ofLocalizableStringinstances.
-