@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HeaderOrder extends Object implements Serializable, Cloneable, StructuredPojo
Inspect a string containing the list of the request's header names, ordered as they appear in the web request that
WAF receives for inspection. WAF generates the string and then uses that as the field to match component in its
inspection. WAF separates the header names in the string using colons and no added spaces, for example
host:user-agent:accept:authorization:referer
.
Constructor and Description |
---|
HeaderOrder() |
Modifier and Type | Method and Description |
---|---|
HeaderOrder |
clone() |
boolean |
equals(Object obj) |
String |
getOversizeHandling()
What WAF should do if the headers of the request are more numerous or larger than WAF can inspect.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOversizeHandling(String oversizeHandling)
What WAF should do if the headers of the request are more numerous or larger than WAF can inspect.
|
String |
toString()
Returns a string representation of this object.
|
HeaderOrder |
withOversizeHandling(OversizeHandling oversizeHandling)
What WAF should do if the headers of the request are more numerous or larger than WAF can inspect.
|
HeaderOrder |
withOversizeHandling(String oversizeHandling)
What WAF should do if the headers of the request are more numerous or larger than WAF can inspect.
|
public void setOversizeHandling(String oversizeHandling)
What WAF should do if the headers of the request are more numerous or larger than WAF can inspect. WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to WAF.
The options for oversize handling are the following:
CONTINUE
- Inspect the available headers normally, according to the rule inspection criteria.
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the
request.
NO_MATCH
- Treat the web request as not matching the rule statement.
oversizeHandling
- What WAF should do if the headers of the request are more numerous or larger than WAF can inspect. WAF
does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or
200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of
header contents to WAF.
The options for oversize handling are the following:
CONTINUE
- Inspect the available headers normally, according to the rule inspection criteria.
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to
the request.
NO_MATCH
- Treat the web request as not matching the rule statement.
OversizeHandling
public String getOversizeHandling()
What WAF should do if the headers of the request are more numerous or larger than WAF can inspect. WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to WAF.
The options for oversize handling are the following:
CONTINUE
- Inspect the available headers normally, according to the rule inspection criteria.
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the
request.
NO_MATCH
- Treat the web request as not matching the rule statement.
The options for oversize handling are the following:
CONTINUE
- Inspect the available headers normally, according to the rule inspection
criteria.
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to
the request.
NO_MATCH
- Treat the web request as not matching the rule statement.
OversizeHandling
public HeaderOrder withOversizeHandling(String oversizeHandling)
What WAF should do if the headers of the request are more numerous or larger than WAF can inspect. WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to WAF.
The options for oversize handling are the following:
CONTINUE
- Inspect the available headers normally, according to the rule inspection criteria.
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the
request.
NO_MATCH
- Treat the web request as not matching the rule statement.
oversizeHandling
- What WAF should do if the headers of the request are more numerous or larger than WAF can inspect. WAF
does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or
200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of
header contents to WAF.
The options for oversize handling are the following:
CONTINUE
- Inspect the available headers normally, according to the rule inspection criteria.
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to
the request.
NO_MATCH
- Treat the web request as not matching the rule statement.
OversizeHandling
public HeaderOrder withOversizeHandling(OversizeHandling oversizeHandling)
What WAF should do if the headers of the request are more numerous or larger than WAF can inspect. WAF does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or 200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of header contents to WAF.
The options for oversize handling are the following:
CONTINUE
- Inspect the available headers normally, according to the rule inspection criteria.
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to the
request.
NO_MATCH
- Treat the web request as not matching the rule statement.
oversizeHandling
- What WAF should do if the headers of the request are more numerous or larger than WAF can inspect. WAF
does not support inspecting the entire contents of request headers when they exceed 8 KB (8192 bytes) or
200 total headers. The underlying host service forwards a maximum of 200 headers and at most 8 KB of
header contents to WAF.
The options for oversize handling are the following:
CONTINUE
- Inspect the available headers normally, according to the rule inspection criteria.
MATCH
- Treat the web request as matching the rule statement. WAF applies the rule action to
the request.
NO_MATCH
- Treat the web request as not matching the rule statement.
OversizeHandling
public String toString()
toString
in class Object
Object.toString()
public HeaderOrder clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.