java.lang.Object
org.apache.camel.support.MessageSupport
org.apache.camel.support.DefaultMessage
org.apache.camel.component.platform.http.vertx.HttpMessage
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.Message, org.apache.camel.spi.DataTypeAware, org.apache.camel.spi.HasCamelContext

public class HttpMessage extends org.apache.camel.support.DefaultMessage
  • Field Summary

    Fields inherited from class org.apache.camel.support.MessageSupport

    camelContext, typeConverter
  • Constructor Summary

    Constructors
    Constructor
    Description
    HttpMessage(org.apache.camel.Exchange exchange, io.vertx.core.http.HttpServerRequest request, io.vertx.core.http.HttpServerResponse response)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.vertx.core.http.HttpServerRequest
     
    io.vertx.core.http.HttpServerResponse
     
    void
    init(org.apache.camel.Exchange exchange, io.vertx.core.http.HttpServerRequest request, io.vertx.core.http.HttpServerResponse response)
     
     
    void
     
     

    Methods inherited from class org.apache.camel.support.DefaultMessage

    createHeaders, getHeader, getHeader, getHeader, getHeader, getHeader, getHeader, getHeaders, hasHeaders, hasPopulatedHeaders, populateInitialHeaders, removeHeader, removeHeaders, removeHeaders, setHeader, setHeaders

    Methods inherited from class org.apache.camel.support.MessageSupport

    copy, copyFrom, copyFromWithNewBody, createBody, createMessageId, getBody, getBody, getBody, getCamelContext, getDataType, getExchange, getMandatoryBody, getMandatoryBody, getMessageId, getMessageTimestamp, getPayloadForTrait, hasDataType, hasMessageId, hasTrait, removeTrait, setBody, setBody, setBody, setCamelContext, setDataType, setExchange, setMessageId, setPayloadForTrait

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • HttpMessage

      public HttpMessage(org.apache.camel.Exchange exchange, io.vertx.core.http.HttpServerRequest request, io.vertx.core.http.HttpServerResponse response)
  • Method Details

    • init

      public void init(org.apache.camel.Exchange exchange, io.vertx.core.http.HttpServerRequest request, io.vertx.core.http.HttpServerResponse response)
    • reset

      public void reset()
      Specified by:
      reset in interface org.apache.camel.Message
      Overrides:
      reset in class org.apache.camel.support.DefaultMessage
    • getRequest

      public io.vertx.core.http.HttpServerRequest getRequest()
    • getResponse

      public io.vertx.core.http.HttpServerResponse getResponse()
    • newInstance

      public HttpMessage newInstance()
      Specified by:
      newInstance in interface org.apache.camel.Message
      Overrides:
      newInstance in class org.apache.camel.support.DefaultMessage
    • toString

      public String toString()
      Overrides:
      toString in class org.apache.camel.support.MessageSupport