private static void fillRequest( ServiceRequestContext ctx, AggregatedHttpMessage aReq, Request jReq) { jReq.setDispatcherType(DispatcherType.REQUEST); jReq.setAsyncSupported(false, "armeria"); jReq.setSecure(ctx.sessionProtocol().isTls()); jReq.setMetaData(toRequestMetadata(ctx, aReq)); final HttpData content = aReq.content(); if (!content.isEmpty()) { jReq.getHttpInput().addContent(new Content(ByteBuffer.wrap( content.array(), content.offset(), content.length()))); } jReq.getHttpInput().eof(); }
_request.setDispatcherType(DispatcherType.REQUEST); _request.setScheme(outerRequest.getScheme()); _request.setMethod(outerRequest.getMethod());
try baseRequest.setDispatcherType(DispatcherType.INCLUDE); baseRequest.getConnection().include(); if (_named!=null) baseRequest.getConnection().included(); baseRequest.setParameters(old_params); baseRequest.setDispatcherType(old_type);
try baseRequest.setDispatcherType(DispatcherType.INCLUDE); baseRequest.getConnection().include(); if (_named!=null) baseRequest.getConnection().included(); baseRequest.setParameters(old_params); baseRequest.setDispatcherType(old_type);
try baseRequest.setDispatcherType(DispatcherType.INCLUDE); baseRequest.getConnection().include(); if (_named!=null) baseRequest.getConnection().included(); baseRequest.setParameters(old_params); baseRequest.setDispatcherType(old_type);
try baseRequest.setDispatcherType(DispatcherType.INCLUDE); baseRequest.getConnection().include(); if (_named!=null) baseRequest.getConnection().included(); baseRequest.setParameters(old_params); baseRequest.setDispatcherType(old_type);
try baseRequest.setDispatcherType(DispatcherType.INCLUDE); baseRequest.getConnection().include(); if (_named!=null) baseRequest.getConnection().included(); baseRequest.setParameters(old_params); baseRequest.setDispatcherType(old_type);
try baseRequest.setDispatcherType(DispatcherType.INCLUDE); baseRequest.getResponse().include(); if (_named!=null) baseRequest.setQueryParameters(old_query_params); baseRequest.resetParameters(); baseRequest.setDispatcherType(old_type);
try baseRequest.setDispatcherType(DispatcherType.INCLUDE); baseRequest.getResponse().include(); if (_named!=null) baseRequest.setQueryParameters(old_query_params); baseRequest.resetParameters(); baseRequest.setDispatcherType(old_type);
try baseRequest.setDispatcherType(DispatcherType.INCLUDE); baseRequest.getResponse().include(); if (_named!=null) baseRequest.setQueryParameters(old_query_params); baseRequest.resetParameters(); baseRequest.setDispatcherType(old_type);
try baseRequest.setDispatcherType(DispatcherType.INCLUDE); baseRequest.getResponse().include(); if (_named!=null) baseRequest.getResponse().included(); baseRequest.setParameters(old_params); baseRequest.setDispatcherType(old_type);
baseRequest.setDispatcherType(dtype); restart=true; baseRequest.setDispatcherType(ctype); baseRequest.setAttribute(AsyncContext.ASYNC_CONTEXT_PATH,async_context_path); baseRequest.setAttribute(AsyncContext.ASYNC_PATH_INFO,async_path_info);
try baseRequest.setDispatcherType(DispatcherType.INCLUDE); baseRequest.getResponse().include(); if (_named!=null) baseRequest.getResponse().included(); baseRequest.setParameters(old_params); baseRequest.setDispatcherType(old_type);
baseRequest.setDispatcherType(dtype); restart=true; baseRequest.setDispatcherType(ctype); baseRequest.setAttribute(AsyncContext.ASYNC_CONTEXT_PATH,async_context_path); baseRequest.setAttribute(AsyncContext.ASYNC_PATH_INFO,async_path_info);
baseRequest.setDispatcherType(dtype); restart=true; baseRequest.setDispatcherType(ctype); baseRequest.setAttribute(AsyncContext.ASYNC_CONTEXT_PATH,async_context_path); baseRequest.setAttribute(AsyncContext.ASYNC_PATH_INFO,async_path_info);
baseRequest.setDispatcherType(dispatch); baseRequest.setParameters(old_params); baseRequest.setQueryString(old_query); baseRequest.setDispatcherType(old_type);
baseRequest.setDispatcherType(dispatch); baseRequest.setParameters(old_params); baseRequest.setQueryString(old_query); baseRequest.setDispatcherType(old_type);
baseRequest.setDispatcherType(dispatch); baseRequest.setParameters(old_params); baseRequest.setQueryString(old_query); baseRequest.setDispatcherType(old_type);
baseRequest.setDispatcherType(dispatch); baseRequest.setParameters(old_params); baseRequest.setQueryString(old_query); baseRequest.setDispatcherType(old_type);
baseRequest.setDispatcherType(dispatch); baseRequest.setParameters(old_params); baseRequest.setQueryString(old_query); baseRequest.setDispatcherType(old_type);