Package | Description |
---|---|
org.forgerock.http.header |
Processes HTTP message header fields.
|
Modifier and Type | Method and Description |
---|---|
static Directive |
Directive.directive(String name,
String value)
Return a
Directive based on the name and value, if value was quoted then this is also captured. |
static Directive |
HeaderUtil.parseDirective(String value)
Splits a single HTTP directive name and value from an input string
value.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Directive> |
ContentTypeHeader.getDirectives()
Returns all directives in the message, keyed off the directive name,
or an empty map if none specified.
|
static Map<String,Directive> |
HeaderUtil.parseDirectivesAsDirectiveMap(Collection<String> values)
Parses a set of HTTP directives from a collection of values.
|
Constructor and Description |
---|
ContentTypeHeader(String type,
Map<String,Directive> directives)
Constructs a new header based on message type and any message directives.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.