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 Summary
Constructors Constructor Description UriTemplate(java.lang.String path)
-
Method Summary
All 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
-
UriTemplate
public UriTemplate(java.lang.String path) throws DeploymentException- Throws:
DeploymentException
-
-
Method Detail
-
match
public java.util.Map<java.lang.String,java.lang.String> match(UriTemplate candidate)
-
hasParameters
public boolean hasParameters()
-
getSegmentCount
public int getSegmentCount()
-
getNormalizedPath
public java.lang.String getNormalizedPath()
-
-