Class UriTemplate
- java.lang.Object
-
- org.apache.tomcat.websocket.server.UriTemplate
-
public class UriTemplate extends java.lang.Object
Extracts 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.String
getNormalizedPath()
int
getSegmentCount()
boolean
hasParameters()
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()
-
-