@Generated(value="OracleSDKGenerator", comments="API Version: 20170115") public final class HttpHeaderRule extends Rule
An object that represents the advance http header options that allow the setting of http header
size and allow/disallow invalid characters in the http headers. For example
httpLargeHeaderSizeInKB=32, the http header could have 4 buffers of 32KBs each This rule applies
only to HTTP listeners. No more than one HttpHeaderRule
object can be present in a given
listener.
Note: Objects should always be created or deserialized using the HttpHeaderRule.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the HttpHeaderRule.Builder
, which maintain a
set of all explicitly set fields called HttpHeaderRule.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
HttpHeaderRule.Builder |
Rule.Action
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
HttpHeaderRule(Boolean areInvalidCharactersAllowed,
Integer httpLargeHeaderSizeInKB)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static HttpHeaderRule.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getAreInvalidCharactersAllowed()
Indicates whether or not invalid characters in client header fields will be allowed.
|
Integer |
getHttpLargeHeaderSizeInKB()
The maximum size of each buffer used for reading http client request header.
|
int |
hashCode() |
HttpHeaderRule.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public HttpHeaderRule(Boolean areInvalidCharactersAllowed, Integer httpLargeHeaderSizeInKB)
public static HttpHeaderRule.Builder builder()
Create a new builder.
public HttpHeaderRule.Builder toBuilder()
public Boolean getAreInvalidCharactersAllowed()
Indicates whether or not invalid characters in client header fields will be allowed. Valid names are composed of English letters, digits, hyphens and underscores. If “true”, invalid characters are allowed in the HTTP header. If “false”, invalid characters are not allowed in the HTTP header
public Integer getHttpLargeHeaderSizeInKB()
The maximum size of each buffer used for reading http client request header. This value indicates the maximum size allowed for each buffer. The allowed values for buffer size are 8, 16, 32 and 64.
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
Copyright © 2016–2024. All rights reserved.