Class HttpHeaderRule
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loadbalancer.model.Rule
-
- com.oracle.bmc.loadbalancer.model.HttpHeaderRule
-
@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 theHttpHeaderRule.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 theHttpHeaderRule.Builder
, which maintain a set of all explicitly set fields calledHttpHeaderRule.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpHeaderRule.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.loadbalancer.model.Rule
Rule.Action
-
-
Constructor Summary
Constructors Constructor Description HttpHeaderRule(Boolean areInvalidCharactersAllowed, Integer httpLargeHeaderSizeInKB)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
HttpHeaderRule
@Deprecated public HttpHeaderRule(Boolean areInvalidCharactersAllowed, Integer httpLargeHeaderSizeInKB)
Deprecated.
-
-
Method Detail
-
builder
public static HttpHeaderRule.Builder builder()
Create a new builder.
-
toBuilder
public HttpHeaderRule.Builder toBuilder()
-
getAreInvalidCharactersAllowed
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
- Returns:
- the value
-
getHttpLargeHeaderSizeInKB
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.
- Returns:
- the value
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-