Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2015-11-20 16:52:12 +0000
committerJoakim Erdfelt2015-11-20 16:52:12 +0000
commit4c95932ff72299bf75ea2e846a7c7c19f941f880 (patch)
treede0cf98d87387b254bf32eeec2fd1a58f87eadfd
parent424a5bcb854c7afb70208da3037efe90503b887e (diff)
downloadorg.eclipse.jetty.project-4c95932ff72299bf75ea2e846a7c7c19f941f880.tar.gz
org.eclipse.jetty.project-4c95932ff72299bf75ea2e846a7c7c19f941f880.tar.xz
org.eclipse.jetty.project-4c95932ff72299bf75ea2e846a7c7c19f941f880.zip
482041 - Add ServletHandler.newCachedChain() to ease customization
+ Setting CachedChain to protected too
-rw-r--r--jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java b/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java
index 7a8428f7d2..4ae492536c 100644
--- a/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java
+++ b/jetty-servlet/src/main/java/org/eclipse/jetty/servlet/ServletHandler.java
@@ -558,7 +558,7 @@ public class ServletHandler extends ScopedHandler
}
else
{
- LOG.warn(String.format("Error Processing URI: %s - (%s) %s",request.getRequestURI(),th.getClass().getName(),th.getMessage()));
+ LOG.warn("Error Processing URI: {} - ({}) {}",request.getRequestURI(),th.getClass().getName(),th.getMessage());
if (LOG_UNHANDLED.isDebugEnabled())
{
LOG_UNHANDLED.debug(request.getRequestURI(),th);
@@ -1443,14 +1443,14 @@ public class ServletHandler extends ScopedHandler
/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */
- private class CachedChain implements FilterChain
+ protected class CachedChain implements FilterChain
{
FilterHolder _filterHolder;
CachedChain _next;
ServletHolder _servletHolder;
/* ------------------------------------------------------------ */
- CachedChain(Object filters, ServletHolder servletHolder)
+ protected CachedChain(Object filters, ServletHolder servletHolder)
{
if (LazyList.size(filters)>0)
{

Back to the top