com.sun.jersey.server.impl.uri
Class PathPattern

java.lang.Object
  extended by com.sun.jersey.api.uri.UriPattern
      extended by com.sun.jersey.server.impl.uri.PathPattern

public final class PathPattern
extends UriPattern

A URI pattern that is a regular expression generated from a URI path.

Author:
Paul.Sandoz@Sun.Com

Field Summary
static java.util.Comparator<PathPattern> COMPARATOR
          Defer to comparing the templates associated with the patterns.
static PathPattern EMPTY_PATH
          Empty path.
 
Fields inherited from class com.sun.jersey.api.uri.UriPattern
EMPTY
 
Constructor Summary
PathPattern(UriTemplate template)
          Public constructor.
PathPattern(UriTemplate template, java.lang.String rightHandSide)
          Public ctor.
 
Method Summary
 UriTemplate getTemplate()
          Get template.
 
Methods inherited from class com.sun.jersey.api.uri.UriPattern
equals, getGroupIndexes, getRegex, hashCode, match, match, match, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_PATH

public static final PathPattern EMPTY_PATH
Empty path.

See Also:
PathPattern()

COMPARATOR

public static final java.util.Comparator<PathPattern> COMPARATOR
Defer to comparing the templates associated with the patterns.

Constructor Detail

PathPattern

public PathPattern(UriTemplate template)
Public constructor.

Parameters:
template - The template

PathPattern

public PathPattern(UriTemplate template,
                   java.lang.String rightHandSide)
Public ctor.

Parameters:
template - The template
rightHandSide - Right hand side of the template
Method Detail

getTemplate

public UriTemplate getTemplate()
Get template.

Returns:
The template


Copyright © 2014 Oracle Corporation. All Rights Reserved.