org.jboss.solder.servlet.http
Class ImplicitHttpServletObjectsProducer
java.lang.Object
org.jboss.solder.servlet.http.ImplicitHttpServletObjectsProducer
- All Implemented Interfaces:
- Serializable
public class ImplicitHttpServletObjectsProducer
- extends Object
- implements Serializable
A producer for implicit HTTP Servlet objects, specifically the HttpServletRequest, HttpServletResponse and
HttpSession. References are obtained from the ImplicitServletObjectsHolder.
TODO should probably throw IllegalStateException if accessed outside request
- Author:
- Nicklas Karlsson, Dan Allen
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImplicitHttpServletObjectsProducer
public ImplicitHttpServletObjectsProducer()
getHttpSession
@Produces
@RequestScoped
protected javax.servlet.http.HttpSession getHttpSession()
getHttpServletRequestContext
@Produces
@Typed(value=org.jboss.solder.servlet.http.HttpServletRequestContext.class)
@RequestScoped
protected org.jboss.solder.servlet.http.HttpServletRequestContext getHttpServletRequestContext()
getHttpServletRequest
@Produces
@Typed(value=javax.servlet.http.HttpServletRequest.class)
@RequestScoped
protected javax.servlet.http.HttpServletRequest getHttpServletRequest()
getHttpServletResponse
@Produces
@Typed(value=javax.servlet.http.HttpServletResponse.class)
@RequestScoped
protected javax.servlet.http.HttpServletResponse getHttpServletResponse()
getCookies
@Produces
@RequestScoped
protected List<javax.servlet.http.Cookie> getCookies()
getContextPath
@Produces
@ContextPath
protected String getContextPath()
Copyright © 2008-2011 Seam Framework. All Rights Reserved.