Mercurial Hosting > luan
diff src/org/eclipse/jetty/server/Request.java @ 822:0048a843297a
remove Dispatcher
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 14 Sep 2016 00:58:52 -0600 |
parents | 8e9db0bbf4f9 |
children | 86338c0029a9 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/Request.java Wed Sep 14 00:48:03 2016 -0600 +++ b/src/org/eclipse/jetty/server/Request.java Wed Sep 14 00:58:52 2016 -0600 @@ -961,22 +961,7 @@ */ public RequestDispatcher getRequestDispatcher(String path) { - if (path == null || _context == null) - return null; - - // handle relative path - if (!path.startsWith("/")) - { - String relTo = URIUtil.addPaths(_servletPath,_pathInfo); - int slash = relTo.lastIndexOf("/"); - if (slash > 1) - relTo = relTo.substring(0,slash + 1); - else - relTo = "/"; - path = URIUtil.addPaths(relTo,path); - } - - return _context.getRequestDispatcher(path); + throw new UnsupportedOperationException(); } /* ------------------------------------------------------------ */