com.caucho.server.dispatch
Class ServletRegexp

java.lang.Object
  extended by com.caucho.server.dispatch.ServletRegexp

public class ServletRegexp
extends java.lang.Object

Configuration for a servlet regexp.


Constructor Summary
ServletRegexp()
          Creates a new servlet regexp object.
 
Method Summary
 void addBuilderProgram(ConfigProgram program)
          Adds to the builder program.
 ContainerProgram getBuilderProgram()
          Returns the program.
 java.lang.String getServletClass()
          Gets the servlet class name.
 java.lang.String getServletName()
          Sets the servlet name.
 java.lang.String getURLRegexp()
          Gets the url regexp
 java.lang.String initRegexp(WebApp webApp, ServletMapper mapper, java.util.ArrayList<java.lang.String> vars)
          Initialize for a regexp.
 void setServletClass(RawString string)
          Sets the servlet class name.
 void setServletName(RawString string)
          Sets the servlet name.
 void setURLRegexp(java.lang.String pattern)
          Sets the url regexp
 java.lang.String toString()
          Returns a printable representation of the servlet config object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServletRegexp

public ServletRegexp()
Creates a new servlet regexp object.

Method Detail

setURLRegexp

public void setURLRegexp(java.lang.String pattern)
Sets the url regexp


getURLRegexp

public java.lang.String getURLRegexp()
Gets the url regexp


setServletName

public void setServletName(RawString string)
Sets the servlet name.


getServletName

public java.lang.String getServletName()
Sets the servlet name.


setServletClass

public void setServletClass(RawString string)
Sets the servlet class name.


getServletClass

public java.lang.String getServletClass()
Gets the servlet class name.


addBuilderProgram

public void addBuilderProgram(ConfigProgram program)
Adds to the builder program.


getBuilderProgram

public ContainerProgram getBuilderProgram()
Returns the program.


initRegexp

public java.lang.String initRegexp(WebApp webApp,
                                   ServletMapper mapper,
                                   java.util.ArrayList<java.lang.String> vars)
                            throws ServletException
Initialize for a regexp.

Throws:
ServletException

toString

public java.lang.String toString()
Returns a printable representation of the servlet config object.

Overrides:
toString in class java.lang.Object