Class AbstractRequestContext<T>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractRequestContext​(java.util.function.Function<java.lang.String,​java.lang.String> contentLengthString, java.util.function.LongSupplier contentLengthDefault, T request)
      Constructs a new instance.
    • Constructor Detail

      • AbstractRequestContext

        protected AbstractRequestContext​(java.util.function.Function<java.lang.String,​java.lang.String> contentLengthString,
                                         java.util.function.LongSupplier contentLengthDefault,
                                         T request)
        Constructs a new instance.
        Parameters:
        contentLengthString - How to get the content length string.
        contentLengthDefault - How to get the content length default.
        request - The request.
    • Method Detail

      • getRequest

        public T getRequest()
        Gets the request.
        Returns:
        the request.
      • toString

        public java.lang.String toString()
        Returns a string representation of this object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of this object.