Module brave.http
Package brave.http

Class HttpRequest

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract java.lang.String header​(java.lang.String name)  
      abstract java.lang.String method()  
      abstract java.lang.String path()  
      long startTimestamp()  
      java.lang.String toString()  
      abstract java.lang.Object unwrap()
      Returns the underlying http request object.
      abstract java.lang.String url()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • unwrap

        public abstract java.lang.Object unwrap()
        Returns the underlying http request object. Ex. org.apache.http.HttpRequest

        Note: Some implementations are composed of multiple types, such as a request and a socket address of the client. Moreover, an implementation may change the type returned due to refactoring. Unless you control the implementation, cast carefully (ex using instance of) instead of presuming a specific type will always be returned.

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object