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

Quick Search    Search Deep

com.meterware.servletunit
Class WebApplication.PartialMatchWebResourceMapping  view WebApplication.PartialMatchWebResourceMapping download WebApplication.PartialMatchWebResourceMapping.java

java.lang.Object
  extended bycom.meterware.servletunit.WebApplication.WebResourceMapping
      extended bycom.meterware.servletunit.WebApplication.PartialMatchWebResourceMapping
Enclosing class:
WebApplication

static class WebApplication.PartialMatchWebResourceMapping
extends WebApplication.WebResourceMapping


Field Summary
private  java.lang.String _prefix
           
 
Constructor Summary
WebApplication.PartialMatchWebResourceMapping(WebResourceConfiguration configuration, java.lang.String prefix)
           
 
Method Summary
 void destroyResource()
           
(package private)  WebResourceConfiguration getConfiguration()
           
(package private)  java.lang.String getPathInfo(java.lang.String requestPath)
          Returns the portion of the request path which was not used to select the servlet, and can be used as data by the servlet.
(package private)  java.lang.String getServletPath(java.lang.String requestPath)
          Returns the portion of the request path which was actually used to select the servlet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_prefix

private java.lang.String _prefix
Constructor Detail

WebApplication.PartialMatchWebResourceMapping

public WebApplication.PartialMatchWebResourceMapping(WebResourceConfiguration configuration,
                                                     java.lang.String prefix)
Method Detail

getServletPath

java.lang.String getServletPath(java.lang.String requestPath)
Description copied from class: WebApplication.WebResourceMapping
Returns the portion of the request path which was actually used to select the servlet. This default implementation returns the full specified path.

Overrides:
getServletPath in class WebApplication.WebResourceMapping

getPathInfo

java.lang.String getPathInfo(java.lang.String requestPath)
Description copied from class: WebApplication.WebResourceMapping
Returns the portion of the request path which was not used to select the servlet, and can be used as data by the servlet. This default implementation returns null.

Overrides:
getPathInfo in class WebApplication.WebResourceMapping

getConfiguration

WebResourceConfiguration getConfiguration()

destroyResource

public void destroyResource()