Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.meterware.servletunit
Class PathMappingUrlPatternMatcher  view PathMappingUrlPatternMatcher download PathMappingUrlPatternMatcher.java

java.lang.Object
  extended bycom.meterware.servletunit.UrlPatternMatcher
      extended bycom.meterware.servletunit.PathMappingUrlPatternMatcher

class PathMappingUrlPatternMatcher
extends UrlPatternMatcher


Field Summary
private  java.lang.String _exactPath
           
private  java.lang.String _prefix
           
(package private) static UrlPatternMatcher[] _templates
           
 
Constructor Summary
(package private) PathMappingUrlPatternMatcher()
           
(package private) PathMappingUrlPatternMatcher(java.lang.String exactPath)
           
 
Method Summary
(package private)  UrlPatternMatcher create(java.lang.String pattern)
          Returns a suitable pattern matcher if this class is compatible with the pattern.
private  boolean handlesPattern(java.lang.String pattern)
           
(package private)  boolean matchesResourceName(java.lang.String resourceName)
          Returns true if the specified resource matches this pattern.
(package private) static UrlPatternMatcher newPatternMatcher(java.lang.String pattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_exactPath

private java.lang.String _exactPath

_prefix

private java.lang.String _prefix

_templates

static UrlPatternMatcher[] _templates
Constructor Detail

PathMappingUrlPatternMatcher

PathMappingUrlPatternMatcher()

PathMappingUrlPatternMatcher

PathMappingUrlPatternMatcher(java.lang.String exactPath)
Method Detail

create

UrlPatternMatcher create(java.lang.String pattern)
Description copied from class: UrlPatternMatcher
Returns a suitable pattern matcher if this class is compatible with the pattern. Will return null otherwise.

Specified by:
create in class UrlPatternMatcher

handlesPattern

private boolean handlesPattern(java.lang.String pattern)

matchesResourceName

boolean matchesResourceName(java.lang.String resourceName)
Description copied from class: UrlPatternMatcher
Returns true if the specified resource matches this pattern.

Specified by:
matchesResourceName in class UrlPatternMatcher

newPatternMatcher

static UrlPatternMatcher newPatternMatcher(java.lang.String pattern)