FuseGuard Logo

fuseguard.components.filters
Component ContentLengthFilter

filters.BaseFilter
  |
  +--filters.ContentLengthFilter

Inspects the HTTP Content Length Header

Method Summary
public string getDescription()
public void getMaximumLength()
          Returns the current maximum content length allowed.
public string getName()
public string getThreatCategory()
          Returns validation
public numeric inspectRequest()
public void setMaximumLength(numeric bytes)
          The default value is 10485760 which is 10MB

Methods inherited from filters.BaseFilter
logEnabled, ignoreVariable, getBlockLevel, init, setScopes, setFilterLevel, getFirewall, setFilterID, filterEnabled, blockEnabled, getRequestLogMessageDetail, logOnly, getFilterInstanceName, inspectVariables, setLogLevel, ignoresVariable, getFilterID, ignoreURI, filterRequest, inspectsCGIScope, getRequestLogMessage, inspectsURI, getLogLevel, setAllowDenyOrder, inspectsCookieScope, setBlockLevel, filterVariables, setFilterInstanceName, inspectVariable, allowURI, getHelp, inspectsUrlScope, getFilterLevel, denyURI, setRequestLogMessage, getFilterComponent, inspectsFormScope
 

Method Detail

getDescription

public string getDescription()

getMaximumLength

public void getMaximumLength()
Returns the current maximum content length allowed.


getName

public string getName()

getThreatCategory

public string getThreatCategory()
Returns validation


inspectRequest

public numeric inspectRequest()

setMaximumLength

public void setMaximumLength(numeric bytes)
The default value is 10485760 which is 10MB

Parameters:
numeric bytes