deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject git commit: DELTASPIKE-585 HttpSession is not serializable
Date Mon, 28 Apr 2014 16:06:00 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 090a05706 -> 61aaa25e5


DELTASPIKE-585 HttpSession is not serializable

Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/61aaa25e
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/61aaa25e
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/61aaa25e

Branch: refs/heads/master
Commit: 61aaa25e59defa3a655959aaa4dd033269af2c1b
Parents: 090a057
Author: tandraschko <tandraschko@apache.org>
Authored: Mon Apr 28 18:02:41 2014 +0200
Committer: tandraschko <tandraschko@apache.org>
Committed: Mon Apr 28 18:02:41 2014 +0200

----------------------------------------------------------------------
 .../deltaspike/servlet/impl/produce/ServletObjectProducer.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/61aaa25e/deltaspike/modules/servlet/impl/src/main/java/org/apache/deltaspike/servlet/impl/produce/ServletObjectProducer.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/servlet/impl/src/main/java/org/apache/deltaspike/servlet/impl/produce/ServletObjectProducer.java
b/deltaspike/modules/servlet/impl/src/main/java/org/apache/deltaspike/servlet/impl/produce/ServletObjectProducer.java
index 3f9ca66..c502d9a 100644
--- a/deltaspike/modules/servlet/impl/src/main/java/org/apache/deltaspike/servlet/impl/produce/ServletObjectProducer.java
+++ b/deltaspike/modules/servlet/impl/src/main/java/org/apache/deltaspike/servlet/impl/produce/ServletObjectProducer.java
@@ -21,7 +21,6 @@ package org.apache.deltaspike.servlet.impl.produce;
 import java.security.Principal;
 
 import javax.enterprise.context.RequestScoped;
-import javax.enterprise.context.SessionScoped;
 import javax.enterprise.inject.Produces;
 import javax.enterprise.inject.Typed;
 import javax.servlet.ServletContext;
@@ -103,7 +102,7 @@ public class ServletObjectProducer
 
     @Produces
     @DeltaSpike
-    @SessionScoped
+    @RequestScoped
     public HttpSession getHttpSession()
     {
         ServletRequest request = RequestResponseHolder.REQUEST.get();


Mime
View raw message