Package org.springframework.xd.dirt.integration.bus

Examples of org.springframework.xd.dirt.integration.bus.StrictContentTypeResolver


   * Creates a converter that ignores content-type message headers
   *
   * @param targetMimeType the required target type (outputType or inputType for XD)
   */
  protected AbstractFromMessageConverter(MimeType targetMimeType) {
    this(new ArrayList<MimeType>(), targetMimeType, new StrictContentTypeResolver(targetMimeType));
  }
View Full Code Here


   *
   * @param supportedSourceMimeType {@link MimeType} that must be present in content-type header
   * @param targetMimeType the required target type (outputType or inputType for XD)
   */
  protected AbstractFromMessageConverter(MimeType supportedSourceMimeType, MimeType targetMimeType) {
    this(Collections.singletonList(supportedSourceMimeType), targetMimeType, new StrictContentTypeResolver(
        supportedSourceMimeType));
  }
View Full Code Here

   *
   * @param supportedSourceMimeType {@link MimeType} that must be present in content-type header
   * @param targetMimeTypes a list of supported target types (outputType or inputType for XD)
   */
  protected AbstractFromMessageConverter(MimeType supportedSourceMimeType, Collection<MimeType> targetMimeTypes) {
    this(Collections.singletonList(supportedSourceMimeType), targetMimeTypes, new StrictContentTypeResolver(
        supportedSourceMimeType));
  }
View Full Code Here

TOP

Related Classes of org.springframework.xd.dirt.integration.bus.StrictContentTypeResolver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.