public class HeaderUtils extends Object
Constructor and Description |
---|
HeaderUtils() |
Modifier and Type | Method and Description |
---|---|
static String[] |
parseMultipleHeaderValues(String headerValue)
Parses a header value consisting of zero or more space / comma /
space + comma separated strings.
|
static String |
serialize(Set<String> set,
String sep)
Serialises the items of a set into a string.
|
public HeaderUtils()
public static String serialize(Set<String> set, String sep)
toString()
method.set
- The set to serialise. Must not be null
.sep
- The string separator to apply. Should not be
null
.public static String[] parseMultipleHeaderValues(String headerValue)
headerValue
- The header value, may be null
.null
.Copyright © 2010–2019 The Transaction Company. All rights reserved.