Package com.skava.orchestration.strategy
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 responseMethods 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
-
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 interfaceorg.apache.camel.http.common.HttpBinding
- Overrides:
doWriteResponse
in classorg.apache.camel.http.common.DefaultHttpBinding
- Throws:
IOException
-