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

12

/external/jetty/src/java/org/eclipse/jetty/server/handler/
H A DScopedHandler.java132 public final void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
135 doScope(target,baseRequest,request, response);
137 doHandle(target,baseRequest,request, response);
144 public abstract void doScope(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) argument
151 public final void nextScope(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) argument
158 _nextScope.doScope(target,baseRequest,request, response);
160 _outerScope.doHandle(target,baseRequest,request, response);
162 doHandle(target,baseRequest,request, response);
169 public abstract void doHandle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) argument
176 public final void nextHandle(String target, final Request baseRequest, HttpServletReques argument
[all...]
H A DHandlerList.java43 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) argument
52 handlers[i].handle(target,baseRequest, request, response);
53 if ( baseRequest.isHandled())
H A DDebugHandler.java54 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) argument
57 final Response base_response = baseRequest.getResponse();
65 name=old_name+":"+baseRequest.getScheme()+"://"+baseRequest.getLocalAddr()+":"+baseRequest.getLocalPort()+baseRequest.getUri();
78 _print.println(d+(ms>99?".":(ms>9?".0":".00"))+ms+":"+name+" "+baseRequest.getRemoteAddr()+" "+request.getMethod()+" "+baseRequest.getHeader("Cookie")+"; "+baseRequest.getHeader("User-Agent"));
81 getHandler().handle(target,baseRequest,reques
[all...]
H A DContextHandlerCollection.java181 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
187 AsyncContinuation async = baseRequest.getAsyncContinuation();
193 context.handle(target,baseRequest,request, response);
224 handler.handle(target,baseRequest, request, response);
225 if (baseRequest.isHandled())
234 handler.handle(target,baseRequest, request, response);
235 if (baseRequest.isHandled())
245 handler.handle(target,baseRequest, request, response);
246 if (baseRequest.isHandled())
255 handler.handle(target,baseRequest, reques
[all...]
H A DRequestLogHandler.java57 public void handle(String target, final Request baseRequest, HttpServletRequest request, final HttpServletResponse response) argument
60 AsyncContinuation continuation = baseRequest.getAsyncContinuation();
63 baseRequest.setDispatchTime(System.currentTimeMillis());
68 super.handle(target, baseRequest, request, response);
72 if (_requestLog != null && baseRequest.getDispatcherType().equals(DispatcherType.REQUEST))
87 _requestLog.log(baseRequest, (Response)response);
92 _requestLog.log(baseRequest, (Response)response);
H A DMovedContextHandler.java104 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
113 StringBuilder location = URIUtil.hasScheme(path)?new StringBuilder():baseRequest.getRootURL();
131 baseRequest.setHandled(true);
H A DContextHandler.java857 public boolean checkContext(final String target, final Request baseRequest, final HttpServletResponse response) throws IOException, ServletException argument
859 DispatcherType dispatch = baseRequest.getDispatcherType();
867 baseRequest.setHandled(true);
871 if ((DispatcherType.REQUEST.equals(dispatch) && baseRequest.isHandled()))
878 String vhost = normalizeHostname(baseRequest.getServerName());
921 baseRequest.setHandled(true);
922 if (baseRequest.getQueryString() != null)
923 response.sendRedirect(URIUtil.addPaths(baseRequest.getRequestURI(),URIUtil.SLASH) + "?" + baseRequest.getQueryString());
925 response.sendRedirect(URIUtil.addPaths(baseRequest
939 doScope(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) argument
1053 doHandle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) argument
[all...]
H A DHotSwapHandler.java124 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
128 _handler.handle(target,baseRequest,request,response);
H A DIdleTimeoutHandler.java82 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
98 super.handle(target,baseRequest,request,response);
H A DIPAccessHandler.java184 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
187 AbstractHttpConnection connection = baseRequest.getConnection();
194 if (addr!=null && !isAddrUriAllowed(addr,baseRequest.getPathInfo()))
197 baseRequest.setHandled(true);
203 getHandler().handle(target,baseRequest, request, response);
H A DHandlerWrapper.java112 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
116 _handler.handle(target,baseRequest, request, response);
H A DResourceHandler.java374 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
376 if (baseRequest.isHandled())
386 super.handle(target, baseRequest, request, response);
406 super.handle(target, baseRequest, request, response);
418 baseRequest.setHandled(true);
434 baseRequest.setHandled(true);
450 baseRequest.getResponse().getHttpFields().put(HttpHeaders.ETAG_BUFFER,etag);
474 baseRequest.getResponse().getHttpFields().put(HttpHeaders.ETAG_BUFFER,etag);
H A DGzipHandler.java241 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
254 _handler.handle(target,baseRequest, request, response);
264 _handler.handle(target, baseRequest, request, wrappedResponse);
301 _handler.handle(target,baseRequest, request, response);
H A DShutdownHandler.java93 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
H A DDefaultHandler.java84 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
86 if (response.isCommitted() || baseRequest.isHandled())
89 baseRequest.setHandled(true);
H A DConnectHandler.java190 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException argument
197 handleConnect(baseRequest, request, response, request.getRequestURI());
201 LOG.warn("ConnectHandler "+baseRequest.getUri()+" "+ e);
207 super.handle(target, baseRequest, request, response);
216 * @param baseRequest Jetty-specific http request
223 protected void handleConnect(Request baseRequest, HttpServletRequest request, HttpServletResponse response, String serverAddress) throws ServletException, IOException argument
242 baseRequest.setHandled(true);
256 baseRequest.setHandled(true);
263 baseRequest.setHandled(true);
270 baseRequest
[all...]
H A DHandlerCollection.java143 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) argument
154 _handlers[i].handle(target,baseRequest, request, response);
/external/jetty/src/java/org/eclipse/jetty/server/
H A DDispatcher.java121 Request baseRequest=(request instanceof Request)?((Request)request):AbstractHttpConnection.getCurrentConnection().getRequest();
132 final DispatcherType old_type = baseRequest.getDispatcherType();
133 final Attributes old_attr=baseRequest.getAttributes();
134 MultiMap old_params=baseRequest.getParameters();
137 baseRequest.setDispatcherType(DispatcherType.INCLUDE);
138 baseRequest.getConnection().include();
140 _contextHandler.handle(_named,baseRequest, (HttpServletRequest)request, (HttpServletResponse)response);
150 baseRequest.extractParameters();
151 old_params=baseRequest.getParameters();
155 UrlEncoded.decodeTo(query,parameters,baseRequest
298 commitResponse(ServletResponse response, Request baseRequest) argument
[all...]
H A DHandler.java53 * @param baseRequest The original unwrapped request object.
63 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) argument
H A DServer.java384 final Request baseRequest=connection.getRequest();
392 baseRequest.setUri(uri);
393 baseRequest.setRequestURI(null);
394 baseRequest.setPathInfo(baseRequest.getRequestURI());
396 baseRequest.mergeQueryString(uri.getQuery()); //we have to assume dispatch path and query are UTF8
399 final String target=baseRequest.getPathInfo();
406 handle(target, baseRequest, request, response);
410 handle(target, baseRequest, request, response);
/external/jetty/src/java/org/eclipse/jetty/server/session/
H A DSessionHandler.java144 public void doScope(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
151 old_session_manager = baseRequest.getSessionManager();
152 old_session = baseRequest.getSession(false);
157 baseRequest.setSessionManager(_sessionManager);
158 baseRequest.setSession(null);
159 checkRequestedSessionId(baseRequest,request);
166 session = baseRequest.getSession(false);
174 baseRequest.getResponse().addCookie(cookie);
179 session = baseRequest.recoverNewSession(_sessionManager);
181 baseRequest
223 doHandle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) argument
242 checkRequestedSessionId(Request baseRequest, HttpServletRequest request) argument
[all...]
/external/jetty/src/java/org/eclipse/jetty/websocket/
H A DWebSocketHandler.java41 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
45 baseRequest.setHandled(true);
48 super.handle(target,baseRequest,request,response);
/external/jetty/src/java/org/eclipse/jetty/security/
H A DSecurityHandler.java446 public void handle(String pathInContext, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
448 final Response base_response = baseRequest.getResponse();
456 if (checkSecurity(baseRequest))
458 Object constraintInfo = prepareConstraintInfo(pathInContext, baseRequest);
461 if (!checkUserDataPermissions(pathInContext, baseRequest, base_response, constraintInfo))
463 if (!baseRequest.isHandled())
466 baseRequest.setHandled(true);
473 isAuthMandatory(baseRequest, base_response, constraintInfo);
478 if (!baseRequest.isHandled())
481 baseRequest
616 isAuthMandatory(Request baseRequest, Response base_response, Object constraintInfo) argument
[all...]
/external/jetty/src/java/org/eclipse/jetty/servlet/
H A DServletHandler.java372 public void doScope(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
375 final String old_servlet_path=baseRequest.getServletPath();
376 final String old_path_info=baseRequest.getPathInfo();
378 DispatcherType type = baseRequest.getDispatcherType();
398 baseRequest.setAttribute(Dispatcher.INCLUDE_SERVLET_PATH,servlet_path);
399 baseRequest.setAttribute(Dispatcher.INCLUDE_PATH_INFO, path_info);
403 baseRequest.setServletPath(servlet_path);
404 baseRequest.setPathInfo(path_info);
415 LOG.debug("servlet {}|{}|{} -> {}",baseRequest.getContextPath(),baseRequest
452 doHandle(String target, Request baseRequest,HttpServletRequest request, HttpServletResponse response) argument
612 getFilterChain(Request baseRequest, String pathInContext, ServletHolder servletHolder) argument
1526 Chain(Request baseRequest, Object filters, ServletHolder servletHolder) argument
[all...]
/external/jetty/src/java/org/eclipse/jetty/servlets/
H A DQoSFilter.java254 HttpServletRequest baseRequest = (HttpServletRequest)request;
255 if (baseRequest.getUserPrincipal() != null )
259 HttpSession session = baseRequest.getSession(false);

Completed in 479 milliseconds

12