Class BaseHttpInboundEndpointSpec<S extends BaseHttpInboundEndpointSpec<S,E>,E extends HttpRequestHandlingEndpointSupport>

Type Parameters:
S - the target BaseHttpInboundEndpointSpec implementation type.
E - the target HttpRequestHandlingEndpointSupport implementation type.
All Implemented Interfaces:
Aware, BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean<E>, InitializingBean, Lifecycle, Phased, SmartLifecycle, ComponentsRegistration
Direct Known Subclasses:
HttpControllerEndpointSpec, HttpRequestHandlerEndpointSpec

public abstract class BaseHttpInboundEndpointSpec<S extends BaseHttpInboundEndpointSpec<S,E>,E extends HttpRequestHandlingEndpointSupport> extends HttpInboundEndpointSupportSpec<S,E>
Since:
5.0
Author:
Artem Bilan, Gary Russell
  • Constructor Details

    • BaseHttpInboundEndpointSpec

      protected BaseHttpInboundEndpointSpec(E endpoint, String... path)
  • Method Details

    • messageConverters

      public S messageConverters(HttpMessageConverter<?>... messageConverters)
      Set the message body converters to use. These converters are used to convert from and to HTTP requests and responses.
      Parameters:
      messageConverters - The message converters.
      Returns:
      the current Spec.
    • mergeWithDefaultConverters

      public S mergeWithDefaultConverters(boolean mergeWithDefaultConverters)
      Flag which determines if the default converters should be available after custom converters.
      Parameters:
      mergeWithDefaultConverters - true to merge, false to replace.
      Returns:
      the current Spec.
    • multipartResolver

      public S multipartResolver(MultipartResolver multipartResolver)
      Specify the MultipartResolver to use when checking requests.
      Parameters:
      multipartResolver - The multipart resolver.
      Returns:
      the current Spec.