Class: MintPress::OracleTrafficDirector::Http

Inherits:
Object
  • Object
show all
Includes:
MintLogger, Mixins::Properties, OtdCommon
Defined in:
src/oracle-otd/lib/oracle-otd/generated/http.rb

Overview

set the following HTTP properties for a configuration:

Properties (Read/Write)

  • #name ⇒ String

    Property Attributes
    
    
    27
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 27
    
    property :name, type: String
  • #server_header ⇒ String
    'Specifies the server header information such as server software and version. Default: Oracle-Traffic-Director/'

    Property Attributes
    • set_proptrue
    
    
    31
    32
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 31
    
    property :server_header, description: 'Specifies the server header information such as server software and version.
    Default: Oracle-Traffic-Director/<version>', set_prop: true, type: String
  • #etag ⇒ [TrueClass, FalseClass]
    'Indicates if the server includes an Etag header field in its responses. Range of values: true or false. Default: true.'

    Property Attributes
    • set_proptrue
    
    
    36
    37
    38
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 36
    
    property :etag, description: 'Indicates if the server includes an Etag header field in its responses.
    Range of values: true or false.
    Default: true.', set_prop: true, type: [TrueClass, FalseClass]
  • #request_header_buffer_size ⇒ Integer
    'Size (in bytes) of buffer used to read HTTP request header. Range of values: size in bytes between 0 and 2147483647, inclusive. Default: 8192.'

    Property Attributes
    • set_proptrue
    
    
    42
    43
    44
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 42
    
    property :request_header_buffer_size, description: 'Size (in bytes) of buffer used to read HTTP request header.
    Range of values: size in bytes between 0 and 2147483647, inclusive.
    Default: 8192.', set_prop: true, type: Integer
  • #strict_request_headers ⇒ [TrueClass, FalseClass]
    'Whether the server rejects certain malformed HTTP request headers Range of values: true or false. Default: false.'

    Property Attributes
    • set_proptrue
    
    
    48
    49
    50
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 48
    
    property :strict_request_headers, description: 'Whether the server rejects certain malformed HTTP request headers
    Range of values: true or false.
    Default: false.', set_prop: true, type: [TrueClass, FalseClass]
  • #websocket_strict_upgrade ⇒ [TrueClass, FalseClass]
    'Enables/Disables the strict RFC 6455 adherence during the WebSocket upgrade request. Range of values: true or false. Default: false.'

    Property Attributes
    • set_proptrue
    
    
    54
    55
    56
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 54
    
    property :websocket_strict_upgrade, description: 'Enables/Disables the strict RFC 6455 adherence during the WebSocket upgrade request.
    Range of values: true or false.
    Default: false.', set_prop: true, type: [TrueClass, FalseClass]
  • #discard_misquoted_cookies ⇒ [TrueClass, FalseClass]
    'Whether to discard misquoted cookies. Range of values: true or false. Default: true.'

    Property Attributes
    • set_proptrue
    
    
    60
    61
    62
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 60
    
    property :discard_misquoted_cookies, description: 'Whether to discard misquoted cookies.
    Range of values: true or false.
    Default: true.', set_prop: true, type: [TrueClass, FalseClass]
  • #max_request_headers ⇒ Integer
    'Maximum number of header fields to allow in an HTTP request header. Range of values: 1 - 512. Default: 64.'

    Property Attributes
    • set_proptrue
    
    
    66
    67
    68
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 66
    
    property :max_request_headers, description: 'Maximum number of header fields to allow in an HTTP request header.
    Range of values: 1 - 512.
    Default: 64.', set_prop: true, type: Integer
  • #body_buffer_size ⇒ Integer
    'Defines the maximum size of the request body content that OTD will expose via the $body variable in obj.conf. Range of values: size in bytes between 0 and 2147483647, inclusive Default: 1024.'

    Property Attributes
    • set_proptrue
    
    
    72
    73
    74
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 72
    
    property :body_buffer_size, description: 'Defines the maximum size of the request body content that OTD will expose via the $body variable in obj.conf.
    Range of values: size in bytes between 0 and 2147483647, inclusive
    Default: 1024.', set_prop: true, type: Integer
  • #output_buffer_size ⇒ Integer
    'Size (in bytes) of buffer used to buffer HTTP responses. Range of values: size in bytes between 0 and 2147483647, inclusive Default: 8192.'

    Property Attributes
    • set_proptrue
    
    
    78
    79
    80
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 78
    
    property :output_buffer_size, description: 'Size (in bytes) of buffer used to buffer HTTP responses.
    Range of values: size in bytes between 0 and 2147483647, inclusive
    Default: 8192.', set_prop: true, type: Integer
  • #max_unchunk_size ⇒ Integer
    'Maximum size (in bytes) of a chunked HTTP request body the server will unchunk. Range of values: size in bytes between 0 and 2147483647, inclusive Default: 8192.'

    Property Attributes
    • set_proptrue
    
    
    84
    85
    86
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 84
    
    property :max_unchunk_size, description: 'Maximum size (in bytes) of a chunked HTTP request body the server will unchunk.
    Range of values: size in bytes between 0 and 2147483647, inclusive
    Default: 8192.', set_prop: true, type: Integer
  • #unchunk_timeout ⇒ Integer
    'Maximum time (in seconds) the server will spend waiting for a chunked HTTP request body to arrive. Range of values: an interval in seconds between 0 and 3600 (1 hour), inclusive. -1 indicates no timeout. Default: 60.'

    Property Attributes
    • set_proptrue
    
    
    90
    91
    92
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 90
    
    property :unchunk_timeout, description: 'Maximum time (in seconds) the server will spend waiting for a chunked HTTP request body to arrive.
    Range of values: an interval in seconds between 0 and 3600 (1 hour), inclusive. -1 indicates no timeout.
    Default: 60.', set_prop: true, type: Integer
  • #io_timeout ⇒ Float
    'Maximum time (in seconds) server will wait for an individual packet. Range of values: an interval in seconds between 0.001 and 3600 (1 hour), inclusive. Default: 30.'

    Property Attributes
    • set_proptrue
    
    
    96
    97
    98
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 96
    
    property :io_timeout, description: 'Maximum time (in seconds) server will wait for an individual packet.
    Range of values: an interval in seconds between 0.001 and 3600 (1 hour), inclusive.
    Default: 30.', set_prop: true, type: Float
  • #request_body_timeout ⇒ Integer
    'Maximum time (in seconds) server will wait for the complete HTTP request body. Range of values: an interval in seconds between 0 and 604800 (1 week), inclusive. -1 indicates no timeout. Default: -1.'

    Property Attributes
    • set_proptrue
    
    
    102
    103
    104
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 102
    
    property :request_body_timeout, description: 'Maximum time (in seconds) server will wait for the complete HTTP request body.
    Range of values: an interval in seconds between 0 and 604800 (1 week), inclusive. -1 indicates no timeout.
    Default: -1.', set_prop: true, type: Integer
  • #request_header_timeout ⇒ Integer
    'Maximum time (in seconds) server will wait for the complete HTTP request header. Range of values: an interval in seconds between 0 and 3600 (1 hour), inclusive. -1 indicates no timeout. Default: 30.'

    Property Attributes
    • set_proptrue
    
    
    108
    109
    110
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 108
    
    property :request_header_timeout, description: 'Maximum time (in seconds) server will wait for the complete HTTP request header.
    Range of values: an interval in seconds between 0 and 3600 (1 hour), inclusive. -1 indicates no timeout.
    Default: 30.', set_prop: true, type: Integer
  • #favicon ⇒ [TrueClass, FalseClass]
    'Whether the server replies to requests for favicon.ico with its own built in icon file. Range of values: true or false. Default: true.'

    Property Attributes
    • set_proptrue
    
    
    114
    115
    116
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 114
    
    property :favicon, description: 'Whether the server replies to requests for favicon.ico with its own built in icon file.
    Range of values: true or false.
    Default: true.', set_prop: true, type: [TrueClass, FalseClass]
  • #ecid ⇒ [TrueClass, FalseClass]
    'Whether the server generates/propagates Execution Context and logs it with its error log. Range of values: true or false. Default: true.'

    Property Attributes
    • set_proptrue
    
    
    120
    121
    122
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 120
    
    property :ecid, description: 'Whether the server generates/propagates Execution Context and logs it with its error log.
    Range of values: true or false.
    Default: true.', set_prop: true, type: [TrueClass, FalseClass]
  • #configuration ⇒ [MintPress::OracleTrafficDirector::Configuration]
    'Name of the configuration.'

    Property Attributes
    • set_proptrue
    • fromString
    
    
    124
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 124
    
    property :configuration, description: 'Name of the configuration.', set_prop: true, type: [MintPress::OracleTrafficDirector::Configuration], from: String
  • #parent ⇒ MintPress::OracleTrafficDirector::Configuration

    Property Attributes
    
    
    125
    # File 'src/oracle-otd/lib/oracle-otd/generated/http.rb', line 125
    
    property :parent, type: MintPress::OracleTrafficDirector::Configuration

Properties (Read Only)

Constant Summary collapse

MODEL_PARENTS =
["configuration"]
LIST_PARAMS =
nil
GET_PARAMS =
["configuration"]

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Attribute Summary collapse

Attributes included from Mixins::Properties

#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root

Attributes included from OtdCommon

#harvested

Instance Method Summary collapse

Methods included from Mixins::Properties

#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Methods included from OtdCommon

#can_exist?, #creator_available?, #delete_generic, #delete_props, #destroy_generic, #disable_props, #empty_mbean?, #enable_prop_generic, #enable_props, #exist_generic?, #form_props, #get_domain, #get_property_from_target, #get_props, #handle_type, #harvest, #harvesters, #harvesting, #list_generic, #list_props, #otd_create_generic, #otd_propize, #set_prop_generic, #set_props

Constructor Details

#initialize(opts = {}) ⇒ Http

Returns a new instance of Http.

Instance Attribute Details

#get_paramsObject

Returns the value of attribute get_params.

#list_paramsObject

Returns the value of attribute list_params.

#model_parentsObject

Returns the value of attribute model_parents.

Instance Method Details

#createObject

#destroyObject

#exist?Boolean

Returns:

  • (Boolean)