Interface Unwrappable

    • Method Detail

      • unwrapRequest

        @NotNull
        static @NotNull Request unwrapRequest​(@NotNull
                                              @NotNull Request request)
        Unwrap all wrapped request to an instance of base request.
        Parameters:
        request - any implementation of Request.
        Returns:
        the first instance of request not implementing Unwrappable.
      • getInner

        @NotNull
        @NotNull Request getInner()
        Returns the unwrapped version of this request.
        Returns:
        an instance of request