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