/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
H A D | ScopedHandler.java | 132 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 D | HandlerList.java | 43 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 D | DebugHandler.java | 54 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 D | ContextHandlerCollection.java | 181 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 D | RequestLogHandler.java | 57 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 D | MovedContextHandler.java | 104 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 D | ContextHandler.java | 857 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 D | HotSwapHandler.java | 124 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument 128 _handler.handle(target,baseRequest,request,response);
|
H A D | IdleTimeoutHandler.java | 82 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument 98 super.handle(target,baseRequest,request,response);
|
H A D | IPAccessHandler.java | 184 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 D | HandlerWrapper.java | 112 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument 116 _handler.handle(target,baseRequest, request, response);
|
H A D | ResourceHandler.java | 374 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 D | GzipHandler.java | 241 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 D | ShutdownHandler.java | 93 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument
|
H A D | DefaultHandler.java | 84 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 D | ConnectHandler.java | 190 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 D | HandlerCollection.java | 143 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 D | Dispatcher.java | 121 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 D | Handler.java | 53 * @param baseRequest The original unwrapped request object. 63 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) argument
|
H A D | Server.java | 384 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 D | SessionHandler.java | 144 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 D | WebSocketHandler.java | 41 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 D | SecurityHandler.java | 446 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 D | ServletHandler.java | 372 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 D | QoSFilter.java | 254 HttpServletRequest baseRequest = (HttpServletRequest)request; 255 if (baseRequest.getUserPrincipal() != null ) 259 HttpSession session = baseRequest.getSession(false);
|