Class HttpExchange

    • Method Detail

      • getRequest

        @NotNull
        public @NotNull HttpRequest getRequest()
        The HTTP request made in this exchange, which caused the HTTP response returned by getResponse().
        Returns:
        the request part of this exchange
      • getResponse

        @NotNull
        public @NotNull HttpResponse getResponse()
        The HTTP response made in this exchange, caused by the HTTP request returned by getRequest().
        Returns:
        the response part of this exchange
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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