Class 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 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).

    • Constructor Detail

      • HttpHeaderRule

        @Deprecated
        public HttpHeaderRule​(Boolean areInvalidCharactersAllowed,
                              Integer httpLargeHeaderSizeInKB)
        Deprecated.
    • Method Detail

      • 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.
        Overrides:
        toString in class Rule
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class Rule
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Rule