Class AbstractHttpWebServiceMessageSender

java.lang.Object
org.springframework.ws.transport.AbstractWebServiceMessageSender<HttpDestinationDescriptor>
org.springframework.ws.transport.http.AbstractHttpWebServiceMessageSender
All Implemented Interfaces:
WebServiceMessageSender
Direct Known Subclasses:
AbstractHttpComponents5MessageSender, ClientHttpRequestMessageSender, HttpComponentsMessageSender, HttpUrlConnectionMessageSender, JdkHttpClientMessageSender

public abstract class AbstractHttpWebServiceMessageSender extends AbstractWebServiceMessageSender<HttpDestinationDescriptor>
Abstract base class for WebServiceMessageSender implementations that use HTTP.

Any http: or https: URI supplied by the application is accepted. A URI supplied by a remote peer, such as a WS-Addressing ReplyTo or FaultTo address, is only accepted when a DestinationPolicy accepts it; without a policy, every remote destination is rejected. HttpDestinationPolicies.allowedHosts(String...) can be used to state the hosts that remote destinations may target. For more advanced or constrained scenarios, implement DestinationPolicy directly.

Since:
1.0.0
  • Field Details

    • logger

      protected final org.apache.commons.logging.Log logger
      Logger available to subclasses.
  • Constructor Details

    • AbstractHttpWebServiceMessageSender

      protected AbstractHttpWebServiceMessageSender(Predicate<URI> supportedUriFilter)
      Create an instance with the URI filter to apply to accept a given URI.
      Parameters:
      supportedUriFilter - the predicate to apply to a URI to test if it is supported by the instance
      Since:
      3.1.9
    • AbstractHttpWebServiceMessageSender

      protected AbstractHttpWebServiceMessageSender()
      Create an instance that accepts http: and https: URIs.
  • Method Details