filters.BaseFilter | +--filters.ContentLengthFilter
Method Summary | |
public array |
getConfigurables()
Returns a list of configurable properties |
public string |
getDescription()
|
public numeric |
getMaximumLength()
Returns the current maximum content length allowed. |
public string |
getName()
|
public boolean |
getRejectContentLengthOnGET()
Returns true if Content-Length is Rejected on HTTP GET. |
public boolean |
getRequireContentLengthOnPOST()
Returns true if Content-Length is required on HTTP POST. |
public string |
getThreatCategory()
Returns validation |
public numeric |
inspectRequest()
|
public void |
setMaximumLength(numeric bytes)
The default value is 10485760 which is 10MB |
public void |
setRejectContentLengthOnGET(boolean reject)
Reject requests with a Content-Length header on HTTP GET methods. |
public void |
setRequireContentLengthOnPOST(boolean require)
Require a Content-Length header on HTTP POST methods. |
Method Detail |
public array getConfigurables()
public string getDescription()
public numeric getMaximumLength()
public string getName()
public boolean getRejectContentLengthOnGET()
public boolean getRequireContentLengthOnPOST()
public string getThreatCategory()
public numeric inspectRequest()
public void setMaximumLength(numeric bytes)
numeric bytes
public void setRejectContentLengthOnGET(boolean reject)
boolean reject
public void setRequireContentLengthOnPOST(boolean require)
boolean require