public class ServletRegexp
extends java.lang.Object
Constructor and Description |
---|
ServletRegexp()
Creates a new servlet regexp object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public void setURLRegexp(java.lang.String pattern)
public java.lang.String getURLRegexp()
public void setServletName(RawString string)
public java.lang.String getServletName()
public void setServletClass(RawString string)
public java.lang.String getServletClass()
public void addBuilderProgram(ConfigProgram program)
public ContainerProgram getBuilderProgram()
public java.lang.String initRegexp(WebApp webApp, ServletMapper mapper, java.util.ArrayList<java.lang.String> vars) throws ServletException
ServletException
public java.lang.String toString()
toString
in class java.lang.Object