jooby/src/main/java/org/jooby/Request.java
/**
     * Unwrap a request in order to find out the target instance.
     *
     * @param req A request.
     * @return A target instance (not a {@link Forwarding}).
     */
Unwrap a request in order to find out the target instance.
@param req A request.
@return A target instance (not a  Forwarding).
Unwrap a request in order to find out the target instance . @param req A request . @return A target instance ( not a Forwarding ) .
public static Request unwrap(final Request req) {
      requireNonNull(req, "A request is required.");
      Request root = req;
      while (root instanceof Forwarding) {
        root = ((Forwarding) root).req;
      }
      return root;
    }
public static Request unwrap ( final Request req ) { requireNonNull ( req , "A request is required." ) ; Request root = req ; while ( root instanceof Forwarding ) { root = ( ( Forwarding ) root ) . req ; } return root ; }
Unwrap a request in order to find out the target instance.
Unwrap a request in order to find out the target instance .