com.caucho.server.webapp
Class PathMapping

java.lang.Object
  extended by com.caucho.server.webapp.PathMapping

public class PathMapping
extends java.lang.Object

Configuration for a path-mapping.


Constructor Summary
PathMapping()
          Creates the path mapping.
 
Method Summary
 java.lang.String getRealPath()
          Gets the real path
 java.lang.String getUrlPattern()
          Gets the urlPattern.
 java.lang.String getUrlRegexp()
          Gets the urlRegexp.
 void init()
          Init
 void setRealPath(java.lang.String realPath)
          Sets the real path
 void setUrlPattern(java.lang.String urlPattern)
          Sets the urlPattern
 void setUrlRegexp(java.lang.String urlRegexp)
          Sets the urlRegexp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathMapping

public PathMapping()
Creates the path mapping.

Method Detail

setUrlPattern

public void setUrlPattern(java.lang.String urlPattern)
Sets the urlPattern


getUrlPattern

public java.lang.String getUrlPattern()
Gets the urlPattern.


setUrlRegexp

public void setUrlRegexp(java.lang.String urlRegexp)
Sets the urlRegexp


getUrlRegexp

public java.lang.String getUrlRegexp()
Gets the urlRegexp.


setRealPath

public void setRealPath(java.lang.String realPath)
Sets the real path


getRealPath

public java.lang.String getRealPath()
Gets the real path


init

@PostConstruct
public void init()
          throws ServletException
Init

Throws:
ServletException