class SOAP::StreamHandler

Constants

RUBY_VERSION_STRING

Attributes

filterchain[R]

Public Class Methods

create_media_type(charset) click to toggle source
# File lib/soap/streamHandler.rb, line 62
def self.create_media_type(charset)
  "#{ MediaType }; charset=#{ charset }"
end
new() click to toggle source
# File lib/soap/streamHandler.rb, line 49
def initialize
  @filterchain = Filter::FilterChain.new
end
parse_media_type(str) click to toggle source
# File lib/soap/streamHandler.rb, line 53
def self.parse_media_type(str)
  if /^#{ MediaType }(?:\s*;\s*charset=([^"]+|"[^"]+"))?$/i !~ str
    return nil
  end
  charset = $1
  charset.gsub!(/"/, '') if charset
  charset || 'utf-8'
end

Public Instance Methods

reset(url = nil) click to toggle source
# File lib/soap/streamHandler.rb, line 72
def reset(url = nil)
  # for initializing connection status if needed.
  # return value is not expected.
end
send(url, conn_data, soapaction = nil, charset = nil) click to toggle source
# File lib/soap/streamHandler.rb, line 66
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) click to toggle source
# File lib/soap/streamHandler.rb, line 77
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() click to toggle source
# File lib/soap/streamHandler.rb, line 83
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