Class UriTemplate
- java.lang.Object
- 
- org.apache.tomcat.websocket.server.UriTemplate
 
- 
 public class UriTemplate extends java.lang.ObjectExtracts path parameters from URIs used to create web socket connections using the URI template defined for the associated Endpoint.
- 
- 
Constructor SummaryConstructors Constructor Description UriTemplate(java.lang.String path)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetNormalizedPath()intgetSegmentCount()booleanhasParameters()java.util.Map<java.lang.String,java.lang.String>match(UriTemplate candidate)
 
- 
- 
- 
Constructor Detail- 
UriTemplatepublic UriTemplate(java.lang.String path) throws DeploymentException- Throws:
- DeploymentException
 
 
- 
 - 
Method Detail- 
matchpublic java.util.Map<java.lang.String,java.lang.String> match(UriTemplate candidate) 
 - 
hasParameterspublic boolean hasParameters() 
 - 
getSegmentCountpublic int getSegmentCount() 
 - 
getNormalizedPathpublic java.lang.String getNormalizedPath() 
 
- 
 
-