Interface HttpRequestInfo

All Superinterfaces:
Cloneable, ZuulMessage
All Known Subinterfaces:
HttpRequestMessage
All Known Implementing Classes:
HttpRequestMessageImpl

public interface HttpRequestInfo extends ZuulMessage
User: Mike Smith Date: 7/15/15 Time: 1:18 PM
  • Method Details

    • getProtocol

      String getProtocol()
    • getMethod

      String getMethod()
    • getPath

      String getPath()
    • getQueryParams

      HttpQueryParams getQueryParams()
    • getPathAndQuery

      String getPathAndQuery()
    • getHeaders

      Headers getHeaders()
      Description copied from interface: ZuulMessage
      Returns the headers for this message. They may be request or response headers, depending on the underlying type of this object. For some messages, there may be no headers, such as with chunked requests or responses. In this case, a non-null default headers value will be returned.
      Specified by:
      getHeaders in interface ZuulMessage
    • getClientIp

      String getClientIp()
    • getScheme

      String getScheme()
    • getPort

      int getPort()
    • getServerName

      String getServerName()
    • 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
    • getInfoForLogging

      String getInfoForLogging()
      Description copied from interface: ZuulMessage
      Returns a string that reprsents this message which is suitable for debugging.
      Specified by:
      getInfoForLogging in interface ZuulMessage
    • getOriginalHost

      String getOriginalHost()
    • getOriginalScheme

      String getOriginalScheme()
    • getOriginalProtocol

      String getOriginalProtocol()
    • getOriginalPort

      int getOriginalPort()
    • getClientDestinationPort

      default Optional<Integer> getClientDestinationPort()
      Reflects the actual destination port that the client intended to communicate with, in preference to the port Zuul was listening on. In the case where proxy protocol is enabled, this should reflect the destination IP encoded in the TCP payload by the load balancer.
    • reconstructURI

      String reconstructURI()
    • parseCookies

      Cookies parseCookies()
      Parse and lazily cache the request cookies.
    • reParseCookies

      Cookies reParseCookies()
      Force parsing/re-parsing of the cookies. May want to do this if headers have been mutated since cookies were first parsed.