Class: SOAP::StreamHandler
Direct Known Subclasses
Defined Under Namespace
Classes: ConnectionData
Constant Summary collapse
- RUBY_VERSION_STRING =
"ruby #{ RUBY_VERSION } (#{ RUBY_RELEASE_DATE }) [#{ RUBY_PLATFORM }]"
Instance Attribute Summary collapse
-
#filterchain ⇒ Object
readonly
Returns the value of attribute filterchain.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ StreamHandler
constructor
A new instance of StreamHandler.
- #reset(url = nil) ⇒ Object
- #send(url, conn_data, soapaction = nil, charset = nil) ⇒ Object
- #set_wiredump_file_base(wiredump_file_base) ⇒ Object
- #test_loopback_response ⇒ Object
Constructor Details
#initialize ⇒ StreamHandler
Returns a new instance of StreamHandler.
48 49 50 |
# File 'lib/soap/streamHandler.rb', line 48 def initialize @filterchain = Filter::FilterChain.new end |
Instance Attribute Details
#filterchain ⇒ Object (readonly)
Returns the value of attribute filterchain.
26 27 28 |
# File 'lib/soap/streamHandler.rb', line 26 def filterchain @filterchain end |
Class Method Details
Instance Method Details
#reset(url = nil) ⇒ Object
71 72 73 74 |
# File 'lib/soap/streamHandler.rb', line 71 def reset(url = nil) # for initializing connection status if needed. # return value is not expected. end |
#send(url, conn_data, soapaction = nil, charset = nil) ⇒ Object
65 66 67 68 69 |
# File 'lib/soap/streamHandler.rb', line 65 def send(url, conn_data, soapaction = nil, charset = nil) # send a ConnectionData to specified url. # return value is a ConnectionData with receive_* property filled. # You can fill values of given conn_data and return it. end |
#set_wiredump_file_base(wiredump_file_base) ⇒ Object
76 77 78 79 80 |
# File 'lib/soap/streamHandler.rb', line 76 def set_wiredump_file_base(wiredump_file_base) # for logging. return value is not expected. # Override it when you want. raise NotImplementedError end |
#test_loopback_response ⇒ Object
82 83 84 85 86 87 |
# File 'lib/soap/streamHandler.rb', line 82 def test_loopback_response # for loopback testing. see HTTPStreamHandler for more detail. # return value is an Array of loopback responses. # Override it when you want. raise NotImplementedError end |