public Optional<HttpRequest> getHttpRequest() {
        final Optional<Request<Object>> request = this.getRequest();
        if (request.isPresent()) {
            return findHttpRequest(request.get());
        } else {
            return Optional.empty();
        }
    }
public Optional<HttpRequest> getHttpRequest() {
        final Optional<Request<Object>> request = this.getRequest();
        if (request.isPresent()) {
            return findHttpRequest(request.get());
        } else {
            return Optional.empty();
        }
    }
public Optional < HttpRequest > getHttpRequest ( ) { final Optional < Request < Object > > request = this . getRequest ( ) ; if ( request . isPresent ( ) ) { return findHttpRequest ( request . get ( ) ) ; } else { return Optional . empty ( ) ; } }
Grab the current http request.

@return Optional http request.
Grab the current http request .