Class CustomSecuredHttpBinding

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

@Component public class CustomSecuredHttpBinding extends org.apache.camel.component.servlet.ServletRestHttpBinding
This class used to customize the http binding for secured response.
Author:
Infosys Equinox
  • Field Summary

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

    DATE_FORMAT, DATE_LOCALE_CONVERSION
  • Constructor Summary

    Constructors
    Constructor
    Description
    default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doWriteResponse(org.apache.camel.Message message, jakarta.servlet.http.HttpServletResponse response, org.apache.camel.Exchange exchange)
    customized method to add the security headers to the 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
  • Constructor Details

    • CustomSecuredHttpBinding

      public CustomSecuredHttpBinding()
      default constructor.
  • Method Details

    • doWriteResponse

      public void doWriteResponse(org.apache.camel.Message message, jakarta.servlet.http.HttpServletResponse response, org.apache.camel.Exchange exchange) throws IOException
      customized method to add the security headers to the response
      Specified by:
      doWriteResponse in interface org.apache.camel.http.common.HttpBinding
      Overrides:
      doWriteResponse in class org.apache.camel.http.common.DefaultHttpBinding
      Throws:
      IOException