java.lang.Object
com.meterware.servletunit.WebApplication.ServletRequestImpl
- All Implemented Interfaces:
- ServletMetaData
- Enclosing class:
- WebApplication
- static class WebApplication.ServletRequestImpl
- extends java.lang.Object
- implements ServletMetaData
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_url
private java.net.URL _url
_fullServletPath
private java.lang.String _fullServletPath
_mapping
private WebApplication.WebResourceMapping _mapping
_filtersPerName
private java.util.Hashtable _filtersPerName
_filtersPerUrl
private FilterUrlMap _filtersPerUrl
WebApplication.ServletRequestImpl
WebApplication.ServletRequestImpl(java.net.URL url,
java.lang.String servletPath,
WebApplication.WebResourceMapping mapping,
java.util.Hashtable filtersPerName,
FilterUrlMap filtersPerUrl)
getServlet
public javax.servlet.Servlet getServlet()
throws javax.servlet.ServletException
- Description copied from interface:
ServletMetaData
- Returns the servlet instance to use.
- Specified by:
getServlet in interface ServletMetaData
getServletPath
public java.lang.String getServletPath()
- Description copied from interface:
ServletMetaData
- Returns the path used to identify the servlet.
- Specified by:
getServletPath in interface ServletMetaData
getPathInfo
public java.lang.String getPathInfo()
- Description copied from interface:
ServletMetaData
- Returns the path info beyond the servlet path.
- Specified by:
getPathInfo in interface ServletMetaData
getFilters
public FilterMetaData[] getFilters()
- Description copied from interface:
ServletMetaData
- Returns an ordered list of the filters associated with this servlet.
- Specified by:
getFilters in interface ServletMetaData
addFiltersForPath
private void addFiltersForPath(java.util.List filters,
java.lang.String fullServletPath)
addFiltersForServletWithName
private void addFiltersForServletWithName(java.util.List filters,
java.lang.String servletName)
getConfiguration
private WebApplication.ServletConfiguration getConfiguration()