| Class | SOAP::HTTPStreamHandler |
| In: |
soap/streamHandler.rb
|
| Parent: | StreamHandler |
Included Modules
Constants
| Client | = | HTTPAccess2::Client |
| RETRYABLE | = | true |
| Client | = | SOAP::NetHttpClient |
| RETRYABLE | = | false |
| MAX_RETRY_COUNT | = | 10 |
Attributes
| client | [R] | |
| wiredump_file_base | [RW] |
Public Class methods
# File soap/streamHandler.rb, line 83
83: def initialize(options)
84: super()
85: @client = Client.new(nil, "SOAP4R/#{ Version }")
86: @wiredump_file_base = nil
87: @charset = @wiredump_dev = nil
88: @options = options
89: set_options
90: @client.debug_dev = @wiredump_dev
91: @cookie_store = nil
92: @accept_encoding_gzip = false
93: end
Public Instance methods
# File soap/streamHandler.rb, line 99
99: def accept_encoding_gzip=(allow)
100: @accept_encoding_gzip = allow
101: end
# File soap/streamHandler.rb, line 112
112: def reset(endpoint_url = nil)
113: if endpoint_url.nil?
114: @client.reset_all
115: else
116: @client.reset(endpoint_url)
117: end
118: @client.save_cookie_store if @cookie_store
119: end
# File soap/streamHandler.rb, line 107
107: def send(endpoint_url, conn_data, soapaction = nil, charset = @charset)
108: conn_data.soapaction ||= soapaction # for backward conpatibility
109: send_post(endpoint_url, conn_data, charset)
110: end