Class PathContainer.Options
java.lang.Object
org.springframework.http.server.PathContainer.Options
- Enclosing interface:
- PathContainer
Options to customize parsing based on the type of input path.
- Since:
- 5.2
- Author:
- Rossen Stoyanchev
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final PathContainer.OptionsOptions for HTTP URL paths.static final PathContainer.OptionsOptions for a message route.
- 
Method SummaryModifier and TypeMethodDescriptionstatic PathContainer.Optionscreate(char separator, boolean decodeAndParseSegments) Create anPathContainer.Optionsinstance with the given settings.charboolean
- 
Field Details- 
HTTP_PATHOptions for HTTP URL paths.Separator '/' with URL decoding and parsing of path parameters. 
- 
MESSAGE_ROUTEOptions 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. 
 
- 
- 
Method Details- 
separatorpublic char separator()
- 
shouldDecodeAndParseSegmentspublic boolean shouldDecodeAndParseSegments()
- 
createCreate anPathContainer.Optionsinstance with the given settings.- Parameters:
- 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.
 
 
-