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

Quick Search    Search Deep

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

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

static class WebApplication.WebResourceMapping
extends java.lang.Object


Field Summary
private  WebResourceConfiguration _configuration
           
 
Constructor Summary
(package private) WebApplication.WebResourceMapping(WebResourceConfiguration configuration)
           
 
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

_configuration

private WebResourceConfiguration _configuration
Constructor Detail

WebApplication.WebResourceMapping

WebApplication.WebResourceMapping(WebResourceConfiguration configuration)
Method Detail

getConfiguration

WebResourceConfiguration getConfiguration()

getServletPath

java.lang.String getServletPath(java.lang.String requestPath)
Returns the portion of the request path which was actually used to select the servlet. This default implementation returns the full specified path.


getPathInfo

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. This default implementation returns null.


destroyResource

public void destroyResource()