public static class AuthorizationHeader.Factory extends HeaderFactory<H>
AuthorizationHeader
instances.FACTORIES, HEADER_NAMES
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
protected H |
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.
|
protected AuthorizationHeader |
parse(String value)
Create a header instance from String representation, which may contain
multiple values if the header supports them.
|
parse
protected AuthorizationHeader parse(String value) throws MalformedHeaderException
HeaderFactory
parse
in class HeaderFactory<AuthorizationHeader>
value
- The string representation.MalformedHeaderException
- When the value cannot be parsed.protected final H parse(List<String> values) throws MalformedHeaderException
HeaderFactory
parse
in class HeaderFactory<H extends Header>
values
- The string representations.MalformedHeaderException
- When the value cannot be parsed.Copyright © 2010-2018, ForgeRock All Rights Reserved.