Home
last modified time | relevance | path

Searched refs:baseRequest (Results 1 – 25 of 29) sorted by relevance

12

/external/jetty/src/java/org/eclipse/jetty/server/
DDispatcher.java121 …Request baseRequest=(request instanceof Request)?((Request)request):AbstractHttpConnection.getCurr… in include() local
132 final DispatcherType old_type = baseRequest.getDispatcherType(); in include()
133 final Attributes old_attr=baseRequest.getAttributes(); in include()
134 MultiMap old_params=baseRequest.getParameters(); in include()
137 baseRequest.setDispatcherType(DispatcherType.INCLUDE); in include()
138 baseRequest.getConnection().include(); in include()
140 …_contextHandler.handle(_named,baseRequest, (HttpServletRequest)request, (HttpServletResponse)respo… in include()
150 baseRequest.extractParameters(); in include()
151 old_params=baseRequest.getParameters(); in include()
155 UrlEncoded.decodeTo(query,parameters,baseRequest.getCharacterEncoding()); in include()
[all …]
DServer.java384 final Request baseRequest=connection.getRequest(); in handleAsync() local
392 baseRequest.setUri(uri); in handleAsync()
393 baseRequest.setRequestURI(null); in handleAsync()
394 baseRequest.setPathInfo(baseRequest.getRequestURI()); in handleAsync()
396baseRequest.mergeQueryString(uri.getQuery()); //we have to assume dispatch path and query are UTF8 in handleAsync()
399 final String target=baseRequest.getPathInfo(); in handleAsync()
406 handle(target, baseRequest, request, response); in handleAsync()
410 handle(target, baseRequest, request, response); in handleAsync()
DHandler.java63 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
/external/jetty/src/java/org/eclipse/jetty/server/session/
DSessionHandler.java144 …public void doScope(String target, Request baseRequest, HttpServletRequest request, HttpServletRes… in doScope() argument
151 old_session_manager = baseRequest.getSessionManager(); in doScope()
152 old_session = baseRequest.getSession(false); in doScope()
157 baseRequest.setSessionManager(_sessionManager); in doScope()
158 baseRequest.setSession(null); in doScope()
159 checkRequestedSessionId(baseRequest,request); in doScope()
166 session = baseRequest.getSession(false); in doScope()
174 baseRequest.getResponse().addCookie(cookie); in doScope()
179 session = baseRequest.recoverNewSession(_sessionManager); in doScope()
181 baseRequest.setSession(session); in doScope()
[all …]
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DScopedHandler.java132 …public final void handle(String target, Request baseRequest, HttpServletRequest request, HttpServl… in handle() argument
135 doScope(target,baseRequest,request, response); in handle()
137 doHandle(target,baseRequest,request, response); in handle()
144 …public abstract void doScope(String target, Request baseRequest, HttpServletRequest request, HttpS… in doScope() argument
151 …public final void nextScope(String target, Request baseRequest, HttpServletRequest request, HttpSe… in nextScope() argument
158 _nextScope.doScope(target,baseRequest,request, response); in nextScope()
160 _outerScope.doHandle(target,baseRequest,request, response); in nextScope()
162 doHandle(target,baseRequest,request, response); in nextScope()
169 …public abstract void doHandle(String target, Request baseRequest, HttpServletRequest request, Http… in doHandle() argument
176 …public final void nextHandle(String target, final Request baseRequest, HttpServletRequest request,… in nextHandle() argument
[all …]
DDebugHandler.java54 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
57 final Response base_response = baseRequest.getResponse(); in handle()
65 …name=old_name+":"+baseRequest.getScheme()+"://"+baseRequest.getLocalAddr()+":"+baseRequest.getLoca… in handle()
78 …".00"))+ms+":"+name+" "+baseRequest.getRemoteAddr()+" "+request.getMethod()+" "+baseRequest.getHea… in handle()
81 getHandler().handle(target,baseRequest,request,response); in handle()
108 suspend=baseRequest.getAsyncContinuation().isSuspended(); in handle()
DContextHandlerCollection.java181 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
187 AsyncContinuation async = baseRequest.getAsyncContinuation(); in handle()
193 context.handle(target,baseRequest,request, response); in handle()
224 handler.handle(target,baseRequest, request, response); in handle()
225 if (baseRequest.isHandled()) in handle()
234 handler.handle(target,baseRequest, request, response); in handle()
235 if (baseRequest.isHandled()) in handle()
245 handler.handle(target,baseRequest, request, response); in handle()
246 if (baseRequest.isHandled()) in handle()
255 handler.handle(target,baseRequest, request, response); in handle()
[all …]
DRequestLogHandler.java57 …public void handle(String target, final Request baseRequest, HttpServletRequest request, final Htt… in handle() argument
60 AsyncContinuation continuation = baseRequest.getAsyncContinuation(); in handle()
63 baseRequest.setDispatchTime(System.currentTimeMillis()); in handle()
68 super.handle(target, baseRequest, request, response); in handle()
72 … if (_requestLog != null && baseRequest.getDispatcherType().equals(DispatcherType.REQUEST)) in handle()
87 _requestLog.log(baseRequest, (Response)response); in handle()
92 _requestLog.log(baseRequest, (Response)response); in handle()
DContextHandler.java857 …public boolean checkContext(final String target, final Request baseRequest, final HttpServletRespo… in checkContext() argument
859 DispatcherType dispatch = baseRequest.getDispatcherType(); in checkContext()
867 baseRequest.setHandled(true); in checkContext()
871 if ((DispatcherType.REQUEST.equals(dispatch) && baseRequest.isHandled())) in checkContext()
878 String vhost = normalizeHostname(baseRequest.getServerName()); in checkContext()
921 baseRequest.setHandled(true); in checkContext()
922 if (baseRequest.getQueryString() != null) in checkContext()
923 …response.sendRedirect(URIUtil.addPaths(baseRequest.getRequestURI(),URIUtil.SLASH) + "?" + baseRequ… in checkContext()
925 … response.sendRedirect(URIUtil.addPaths(baseRequest.getRequestURI(),URIUtil.SLASH)); in checkContext()
939 …public void doScope(String target, Request baseRequest, HttpServletRequest request, HttpServletRes… in doScope() argument
[all …]
DHandlerList.java43 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
52 handlers[i].handle(target,baseRequest, request, response); in handle()
53 if ( baseRequest.isHandled()) in handle()
DResourceHandler.java374 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
376 if (baseRequest.isHandled()) in handle()
386 super.handle(target, baseRequest, request, response); in handle()
406 super.handle(target, baseRequest, request, response); in handle()
418 baseRequest.setHandled(true); in handle()
434 baseRequest.setHandled(true); in handle()
450 baseRequest.getResponse().getHttpFields().put(HttpHeaders.ETAG_BUFFER,etag); in handle()
474 baseRequest.getResponse().getHttpFields().put(HttpHeaders.ETAG_BUFFER,etag); in handle()
DIPAccessHandler.java184 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
187 AbstractHttpConnection connection = baseRequest.getConnection(); in handle()
194 if (addr!=null && !isAddrUriAllowed(addr,baseRequest.getPathInfo())) in handle()
197 baseRequest.setHandled(true); in handle()
203 getHandler().handle(target,baseRequest, request, response); in handle()
DMovedContextHandler.java104 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
113 … StringBuilder location = URIUtil.hasScheme(path)?new StringBuilder():baseRequest.getRootURL(); in handle()
131 baseRequest.setHandled(true); in handle()
DGzipHandler.java241 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
254 _handler.handle(target,baseRequest, request, response); in handle()
264 _handler.handle(target, baseRequest, request, wrappedResponse); in handle()
301 _handler.handle(target,baseRequest, request, response); in handle()
DConnectHandler.java190 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
197 handleConnect(baseRequest, request, response, request.getRequestURI()); in handle()
201 LOG.warn("ConnectHandler "+baseRequest.getUri()+" "+ e); in handle()
207 super.handle(target, baseRequest, request, response); in handle()
223 …protected void handleConnect(Request baseRequest, HttpServletRequest request, HttpServletResponse … in handleConnect() argument
242 baseRequest.setHandled(true); in handleConnect()
256 baseRequest.setHandled(true); in handleConnect()
263 baseRequest.setHandled(true); in handleConnect()
270 baseRequest.setHandled(true); in handleConnect()
309 baseRequest.getConnection().getGenerator().setPersistent(true); in handleConnect()
DIdleTimeoutHandler.java82 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
98 super.handle(target,baseRequest,request,response); in handle()
DDefaultHandler.java84 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
86 if (response.isCommitted() || baseRequest.isHandled()) in handle()
89 baseRequest.setHandled(true); in handle()
DHotSwapHandler.java124 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
128 _handler.handle(target,baseRequest,request,response); in handle()
DHandlerWrapper.java112 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
116 _handler.handle(target,baseRequest, request, response); in handle()
DHandlerCollection.java143 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
154 _handlers[i].handle(target,baseRequest, request, response); in handle()
/external/jetty/src/java/org/eclipse/jetty/security/
DSecurityHandler.java446 …public void handle(String pathInContext, Request baseRequest, HttpServletRequest request, HttpServ… in handle() argument
448 final Response base_response = baseRequest.getResponse(); in handle()
456 if (checkSecurity(baseRequest)) in handle()
458 Object constraintInfo = prepareConstraintInfo(pathInContext, baseRequest); in handle()
461 … if (!checkUserDataPermissions(pathInContext, baseRequest, base_response, constraintInfo)) in handle()
463 if (!baseRequest.isHandled()) in handle()
466 baseRequest.setHandled(true); in handle()
473 isAuthMandatory(baseRequest, base_response, constraintInfo); in handle()
478 if (!baseRequest.isHandled()) in handle()
481 baseRequest.setHandled(true); in handle()
[all …]
/external/jetty/src/java/org/eclipse/jetty/servlet/
DServletHandler.java372 …public void doScope(String target, Request baseRequest, HttpServletRequest request, HttpServletRes… in doScope() argument
375 final String old_servlet_path=baseRequest.getServletPath(); in doScope()
376 final String old_path_info=baseRequest.getPathInfo(); in doScope()
378 DispatcherType type = baseRequest.getDispatcherType(); in doScope()
398 baseRequest.setAttribute(Dispatcher.INCLUDE_SERVLET_PATH,servlet_path); in doScope()
399 baseRequest.setAttribute(Dispatcher.INCLUDE_PATH_INFO, path_info); in doScope()
403 baseRequest.setServletPath(servlet_path); in doScope()
404 baseRequest.setPathInfo(path_info); in doScope()
415 …LOG.debug("servlet {}|{}|{} -> {}",baseRequest.getContextPath(),baseRequest.getServletPath(),baseR… in doScope()
420 old_scope=baseRequest.getUserIdentityScope(); in doScope()
[all …]
DServletHolder.java641 public void handle(Request baseRequest, in handle() argument
665 boolean suspendable = baseRequest.isAsyncSupported(); in handle()
675 … old_run_as=_identityService.setRunAs(baseRequest.getResolvedUserIdentity(),_runAsToken); in handle()
678 baseRequest.setAsyncSupported(false); in handle()
694 baseRequest.setAsyncSupported(suspendable); in handle()
/external/jetty/src/java/org/eclipse/jetty/websocket/
DWebSocketHandler.java41 …public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResp… in handle() argument
45 baseRequest.setHandled(true); in handle()
48 super.handle(target,baseRequest,request,response); in handle()
/external/jetty/src/java/org/eclipse/jetty/servlets/
DQoSFilter.java254 HttpServletRequest baseRequest = (HttpServletRequest)request; in getPriority() local
255 if (baseRequest.getUserPrincipal() != null ) in getPriority()
259 HttpSession session = baseRequest.getSession(false); in getPriority()

12