The DEFAULT_AND_LOCALHOST HostnameVerifier works like the DEFAULT
one with one additional relaxation: a host of "localhost",
"localhost.localdomain", "127.0.0.1", "::1" will always pass, no matter
what is in the server's certificate.
Determine the Http Status Code depending on the message type processed
(normal response versus fault response) as well as Axis2 message context properties set
via Synapse configuration or MessageBuilders.
This method is from org.apache.axis2.transport.TransportUtils - it was hack placed in Axis2 Transport to enable
responses with text/xml to be processed using the ApplicationXMLBuilder (which is technically wrong, it should be
the duty of the backend service to send the correct content type, which makes the most sense (refer RFC 1049),
alas, tis not the way of the World).
This method is needed by the cache Manager to go through the cache entries to remove invalid values or
to remove LRU cache values if the cache has reached its max size.
This method is needed by the cache Manager to go through the cache entries to remove invalid values or
to remove LRU cache values if the cache has reached its max size.
This is the decorator for message formatter and it is need because there isn't any mechanism
that can process the message before formatting is occurred.
Reason Phrase can be used to override the default English reason phrases for HTTP status codes
Default reason codes and phrases are defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1)
This interface is a point of control for Axis2 to control the behaviour of a Request-Response
transport such as HTTP/s
For nhttp, this does not make much of a difference, as we are capable of keeping a socket open
and writing to it from a different thread, while letting the initial thread that read the
request go free.
LatencyView provides statistical information related to the latency (overhead) incurred by
the Synapse NHTTP transport, when mediating messages back and forth.
LatencyView provides statistical information related to the latency (overhead) incurred by
the Synapse NHTTP transport, when mediating messages back and forth.
This simple extension of the Axis2 transport MetricsCollector implementation,
maintains a ConnectionsView instance, which is updated based on the events fired
by the NHTTP transport implementation.
This simple extension of the Axis2 transport MetricsCollector implementation,
maintains a ConnectionsView instance, which is updated based on the events fired
by the pass-through transport implementation.
Get Uri of underlying SourceRequest and calculate service prefix and add to message context
create response buffers for HTTP GET, DELETE, OPTION and HEAD methods