[utilities COMMIT] in /java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/net: ThreadLocalHttpSer...

noreply at shibboleth.net noreply at shibboleth.net
Thu May 22 14:19:06 EDT 2014


Author: tzeller
Date: Thu May 22 14:19:05 2014
New Revision: 570

URL: http://svn.shibboleth.net/view/utilities?rev=570&view=rev
Log:
Revert from Servlet 3.1 back to Servlet 3.0. Make jetty.version the latest which supports Servlet 3.0.

Modified:
    java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletRequestProxy.java
    java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletResponseProxy.java

Modified: java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletRequestProxy.java
URL: http://svn.shibboleth.net/view/utilities/java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletRequestProxy.java?rev=570&r1=569&r2=570&view=diff
==============================================================================
--- java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletRequestProxy.java (original)
+++ java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletRequestProxy.java Thu May 22 14:19:05 2014
@@ -38,7 +38,6 @@
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 import javax.servlet.http.HttpSession;
-import javax.servlet.http.HttpUpgradeHandler;
 import javax.servlet.http.Part;
 
 import net.shibboleth.utilities.java.support.logic.Constraint;
@@ -75,11 +74,6 @@
     }
 
     /** {@inheritDoc} */
-    public long getContentLengthLong() {
-        return getCurrent().getContentLengthLong();
-    }
-
-    /** {@inheritDoc} */
     public String getContentType() {
         return getCurrent().getContentType();
     }
@@ -306,11 +300,6 @@
     }
 
     /** {@inheritDoc} */
-    public String changeSessionId() {
-       return getCurrent().changeSessionId();
-    }
-
-    /** {@inheritDoc} */
     public boolean isRequestedSessionIdValid() {
         return getCurrent().isRequestedSessionIdValid();
     }
@@ -389,11 +378,6 @@
     /** {@inheritDoc} */
     public Part getPart(String name) throws IOException, ServletException {
         return getCurrent().getPart(name);
-    }
-
-    /** {@inheritDoc} */
-    public <T extends HttpUpgradeHandler> T upgrade(Class<T> handlerClass) throws IOException, ServletException {
-        return getCurrent().upgrade(handlerClass);
     }
 
     /**

Modified: java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletResponseProxy.java
URL: http://svn.shibboleth.net/view/utilities/java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletResponseProxy.java?rev=570&r1=569&r2=570&view=diff
==============================================================================
--- java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletResponseProxy.java (original)
+++ java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/net/ThreadLocalHttpServletResponseProxy.java Thu May 22 14:19:05 2014
@@ -65,11 +65,6 @@
     }
 
     /** {@inheritDoc} */
-    public void setContentLengthLong(long len) {
-        getCurrent().setContentLengthLong(len);
-    }
-
-    /** {@inheritDoc} */
     public void setContentType(String type) {
         getCurrent().setContentType(type);
     }



More information about the commits mailing list