/** * @return the HTTP request object * @return */ public HttpServerRequest request() { if (cached_0 != null) { return cached_0; } HttpServerRequest ret = HttpServerRequest.newInstance(this.delegate.request()); cached_0 = ret; return ret; }
default void notNull(HttpServerRequest request, String... args) { Objects.nonNull(request); Objects.nonNull(args); for (String arg : args) { if (request.getParam(arg) == null) throw new RestValidationError(); } }