public static class PathContainer.Options extends Object
Modifier and Type | Field and Description |
---|---|
static PathContainer.Options |
HTTP_PATH
Options for HTTP URL paths.
|
static PathContainer.Options |
MESSAGE_ROUTE
Options for a message route.
|
Modifier and Type | Method and Description |
---|---|
static PathContainer.Options |
create(char separator,
boolean decodeAndParseSegments)
Create an
PathContainer.Options instance with the given settings. |
char |
separator() |
boolean |
shouldDecodeAndParseSegments() |
public static final PathContainer.Options HTTP_PATH
Separator '/' with URL decoding and parsing of path parameters.
public static final PathContainer.Options MESSAGE_ROUTE
Separator '.' with neither URL decoding nor parsing of path parameters. Escape sequences for the separator character in segment values are still decoded.
public char separator()
public boolean shouldDecodeAndParseSegments()
public static PathContainer.Options create(char separator, boolean decodeAndParseSegments)
PathContainer.Options
instance with the given settings.separator
- the separator for parsing the path into segments;
currently this must be slash or dot.decodeAndParseSegments
- whether to URL decode path segment
values and parse path parameters. If set to false, only escape
sequences for the separator char are decoded.