public Optional<MethodCall<Object>> getMethodCall() {
        final Request<Object> request = requestThreadLocal.get();
        if (request instanceof MethodCall) {
            return Optional.of(((MethodCall<Object>) request));
        }
        return Optional.empty();

    }
public Optional<MethodCall<Object>> getMethodCall() {
        final Request<Object> request = requestThreadLocal.get();
        if (request instanceof MethodCall) {
            return Optional.of(((MethodCall<Object>) request));
        }
        return Optional.empty();

    }
public Optional < MethodCall < Object > > getMethodCall ( ) { final Request < Object > request = requestThreadLocal . get ( ) ; if ( request instanceof MethodCall ) { return Optional . of ( ( ( MethodCall < Object > ) request ) ) ; } return Optional . empty ( ) ; }
Grab the current  request.

@return Optional  request.
Grab the current request .