|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tuckey.web.filters.urlrewrite.Conf
public final class Conf
Configuration object for urlrewrite filter.
| Field Summary | |
|---|---|
protected java.lang.String |
decodeUsing
|
protected java.lang.String |
defaultMatchType
|
protected boolean |
useContext
|
protected boolean |
useQueryString
|
| Constructor Summary | |
|---|---|
Conf()
Empty const for testing etc. |
|
Conf(java.io.InputStream inputStream,
java.lang.String conffile)
/** Constructor when run elements don't need to be initialised correctly, for docuementation etc. |
|
Conf(javax.servlet.ServletContext context,
java.io.InputStream inputStream,
java.lang.String fileName,
java.lang.String systemId)
Normal constructor. |
|
Conf(java.net.URL confUrl)
Constructor when run elements don't need to be initialised correctly, for docuementation etc. |
|
| Method Summary | |
|---|---|
void |
addOutboundRule(OutboundRule outboundRule)
Will add the rule to the rules list. |
void |
addRule(Rule rule)
Will add the rule to the rules list. |
void |
destroy()
Destory the conf gracefully. |
java.util.List |
getCatchElems()
|
java.lang.String |
getDecodeUsing()
|
java.lang.String |
getDefaultMatchType()
|
java.util.List |
getErrors()
Will get the List of errors. |
java.lang.String |
getFileName()
|
java.util.Date |
getLoadedDate()
|
java.util.List |
getOutboundRules()
Will get the List of outbound rules. |
java.util.List |
getRules()
Will get the List of rules. |
void |
initialise()
Initialise the conf file. |
boolean |
isDecodeRequired()
|
boolean |
isOk()
true if the conf has been loaded ok. |
boolean |
isUseContext()
|
boolean |
isUseQueryString()
|
void |
setDecodeUsing(java.lang.String decodeUsing)
|
void |
setDefaultMatchType(java.lang.String defaultMatchType)
|
void |
setUseContext(boolean useContext)
|
void |
setUseQueryString(boolean useQueryString)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean useQueryString
protected boolean useContext
protected java.lang.String decodeUsing
protected java.lang.String defaultMatchType
| Constructor Detail |
|---|
public Conf()
public Conf(javax.servlet.ServletContext context,
java.io.InputStream inputStream,
java.lang.String fileName,
java.lang.String systemId)
public Conf(java.net.URL confUrl)
public Conf(java.io.InputStream inputStream,
java.lang.String conffile)
| Method Detail |
|---|
public void initialise()
public void destroy()
public void addRule(Rule rule)
rule - The Rule to addpublic void addOutboundRule(OutboundRule outboundRule)
outboundRule - The outbound rule to addpublic java.util.List getErrors()
public java.util.List getRules()
public java.util.List getOutboundRules()
public boolean isOk()
public java.util.Date getLoadedDate()
public java.lang.String getFileName()
public boolean isUseQueryString()
public void setUseQueryString(boolean useQueryString)
public boolean isUseContext()
public void setUseContext(boolean useContext)
public java.lang.String getDecodeUsing()
public void setDecodeUsing(java.lang.String decodeUsing)
public void setDefaultMatchType(java.lang.String defaultMatchType)
public java.lang.String getDefaultMatchType()
public java.util.List getCatchElems()
public boolean isDecodeRequired()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||