Class CustomSecuredHttpBinding

java.lang.Object
org.apache.camel.http.common.DefaultHttpBinding
org.apache.camel.component.servlet.ServletRestHttpBinding
com.skava.marketplace.orchestration.strategy.CustomSecuredHttpBinding
All Implemented Interfaces:
org.apache.camel.http.common.HttpBinding

@Component public class CustomSecuredHttpBinding extends org.apache.camel.component.servlet.ServletRestHttpBinding
The Class CustomSecuredHttpBinding.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Constant ACCESS_CONTROL.
    static final String
    The Constant SERVER.
    static final String
    The Constant STRICT_TRANSPORT_SECURITY.
    static final String
    The Constant X_CONTENT_TYPE_OPTIONS.
    static final String
    The Constant X_FRAME_OPTIONS.
    static final String
    The Constant X_XSS_PROTECTION.

    Fields inherited from class org.apache.camel.http.common.DefaultHttpBinding

    DATE_FORMAT, DATE_LOCALE_CONVERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new custom secured http binding.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doWriteResponse(org.apache.camel.Message message, jakarta.servlet.http.HttpServletResponse response, org.apache.camel.Exchange exchange)
    Do write response.

    Methods inherited from class org.apache.camel.component.servlet.ServletRestHttpBinding

    populateRequestParameters

    Methods inherited from class org.apache.camel.http.common.DefaultHttpBinding

    checkChunked, convertDateAndLocaleLocally, convertHeaderValueToString, copyStream, doWriteDirectResponse, doWriteExceptionResponse, doWriteFaultResponse, doWriteGZIPResponse, getFileNameExtWhitelist, getHeaderFilterStrategy, getHttpDateFormat, isAllowJavaSerializedObject, isEagerCheckContentAvailable, isLogException, isMapHttpMessageBody, isMapHttpMessageFormUrlEncodedBody, isMapHttpMessageHeaders, isMuteException, isText, isTransferException, isUseReaderForPayload, parseBody, populateAttachments, readBody, readFormUrlEncodedBody, readHeaders, readRequest, setAllowJavaSerializedObject, setEagerCheckContentAvailable, setFileNameExtWhitelist, setHeaderFilterStrategy, setLogException, setMapHttpMessageBody, setMapHttpMessageFormUrlEncodedBody, setMapHttpMessageHeaders, setMuteException, setTransferException, setUseReaderForPayload, toHttpDate, toHttpLanguage, writeResponse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • CustomSecuredHttpBinding

      public CustomSecuredHttpBinding()
      Instantiates a new custom secured http binding.
  • Method Details

    • doWriteResponse

      public void doWriteResponse(org.apache.camel.Message message, jakarta.servlet.http.HttpServletResponse response, org.apache.camel.Exchange exchange) throws IOException
      Do write response.
      Specified by:
      doWriteResponse in interface org.apache.camel.http.common.HttpBinding
      Overrides:
      doWriteResponse in class org.apache.camel.http.common.DefaultHttpBinding
      Parameters:
      message - the message
      response - the response
      exchange - the exchange
      Throws:
      IOException - Signals that an I/O exception has occurred.