Class Http

    • Method Detail

      • httpURL

        public final String httpURL()

        The request URL.

        Returns:
        The request URL.
      • httpStatus

        public final Integer httpStatus()

        The response status.

        Returns:
        The response status.
      • httpMethod

        public final String httpMethod()

        The request method.

        Returns:
        The request method.
      • userAgent

        public final String userAgent()

        The request's user agent string.

        Returns:
        The request's user agent string.
      • clientIp

        public final String clientIp()

        The IP address of the requestor.

        Returns:
        The IP address of the requestor.
      • serializableBuilderClass

        public static Class<? extends Http.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)