java.lang.Object
org.xbib.net.path.spring.PathContainer.Options
- Umschließende Schnittstelle:
PathContainer
Options to customize parsing based on the type of input path.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final PathContainer.OptionsOptions for HTTP URL paths.static final PathContainer.OptionsOptions for a message route. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic PathContainer.Optionscreate(char separator, boolean decodeAndParseSegments) Create anPathContainer.Optionsinstance with the given settings.charboolean
-
Felddetails
-
HTTP_PATH
Options for HTTP URL paths. Separator '/' with URL decoding and parsing of path parameters. -
MESSAGE_ROUTE
Options for a message route. Separator '.' with neither URL decoding nor parsing of path parameters. Escape sequences for the separator character in segment values are still decoded.
-
-
Methodendetails
-
separator
public char separator() -
shouldDecodeAndParseSegments
public boolean shouldDecodeAndParseSegments() -
create
Create anPathContainer.Optionsinstance with the given settings.- Parameter:
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.
-