Class AttachmentHttpBinding

  • All Implemented Interfaces:
    org.apache.camel.http.common.HttpBinding

    public final class AttachmentHttpBinding
    extends org.apache.camel.http.common.DefaultHttpBinding
    To handle attachments with Servlet.

    This implementation is needed to deal with attachments when using Servlet.

    • Field Summary

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

        DATE_FORMAT, DATE_LOCALE_CONVERSION
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void populateAttachments​(javax.servlet.http.HttpServletRequest request, org.apache.camel.http.common.HttpMessage message)  
      • Methods inherited from class org.apache.camel.http.common.DefaultHttpBinding

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

      • populateAttachments

        protected void populateAttachments​(javax.servlet.http.HttpServletRequest request,
                                           org.apache.camel.http.common.HttpMessage message)
        Overrides:
        populateAttachments in class org.apache.camel.http.common.DefaultHttpBinding