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
FieldsModifier and TypeFieldDescriptionstatic 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Field Details
-
X_FRAME_OPTIONS
The Constant X_FRAME_OPTIONS.- See Also:
-
X_CONTENT_TYPE_OPTIONS
The Constant X_CONTENT_TYPE_OPTIONS.- See Also:
-
X_XSS_PROTECTION
The Constant X_XSS_PROTECTION.- See Also:
-
STRICT_TRANSPORT_SECURITY
The Constant STRICT_TRANSPORT_SECURITY.- See Also:
-
SERVER
The Constant SERVER.- See Also:
-
ACCESS_CONTROL
The Constant ACCESS_CONTROL.- See Also:
-
-
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 interfaceorg.apache.camel.http.common.HttpBinding
- Overrides:
doWriteResponse
in classorg.apache.camel.http.common.DefaultHttpBinding
- Parameters:
message
- the messageresponse
- the responseexchange
- the exchange- Throws:
IOException
- Signals that an I/O exception has occurred.
-