public Optional<Request<Object>> getRequest() {
        final Request request = requestThreadLocal.get();
        return Optional.ofNullable(request);

    }
public Optional<Request<Object>> getRequest() {
        final Request request = requestThreadLocal.get();
        return Optional.ofNullable(request);

    }
public Optional < Request < Object > > getRequest ( ) { final Request request = requestThreadLocal . get ( ) ; return Optional . ofNullable ( request ) ; }
Grab the current  request.

@return Optional  request.
Grab the current request .