Interface HttpResponseMessage

All Superinterfaces:
Cloneable, HttpResponseInfo, ZuulMessage
All Known Implementing Classes:
HttpResponseMessageImpl

public interface HttpResponseMessage extends HttpResponseInfo
User: Mike Smith Date: 7/16/15 Time: 12:45 AM
  • Method Details

    • setStatus

      void setStatus(int status)
    • getMaxBodySize

      int getMaxBodySize()
      Description copied from interface: ZuulMessage
      Returns the maximum body size that this message is willing to hold. This value value should be more than the sum of lengths of the body chunks. The max body size may not be strictly enforced, and is informational.
      Specified by:
      getMaxBodySize in interface ZuulMessage
    • addSetCookie

      void addSetCookie(io.netty.handler.codec.http.Cookie cookie)
    • setSetCookie

      void setSetCookie(io.netty.handler.codec.http.Cookie cookie)
    • removeExistingSetCookie

      boolean removeExistingSetCookie(String cookieName)
    • getOutboundRequest

      HttpRequestMessage getOutboundRequest()
      The mutable request that will be sent to Origin.
    • getInboundResponse

      HttpResponseInfo getInboundResponse()
      The immutable response that was received from Origin.
    • storeInboundResponse

      void storeInboundResponse()
      This should be called after response received from Origin, to store a copy of the response as-is.