com.atlassian.sal.confluence.web.context
Class HttpContext

java.lang.Object
  extended by com.atlassian.sal.confluence.web.context.HttpContext
All Implemented Interfaces:
com.atlassian.sal.api.web.context.HttpContext

public class HttpContext
extends Object
implements com.atlassian.sal.api.web.context.HttpContext

Confluence SAL implementation of the HttpContext, this implementation delegates to the Confluence internal HttpContext class.

Since:
v5.0

Constructor Summary
HttpContext(HttpContext httpContext)
           
 
Method Summary
 javax.servlet.http.HttpServletRequest getRequest()
           
 javax.servlet.http.HttpServletResponse getResponse()
           
 javax.servlet.http.HttpSession getSession(boolean create)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpContext

public HttpContext(HttpContext httpContext)
Method Detail

getRequest

public javax.servlet.http.HttpServletRequest getRequest()
Specified by:
getRequest in interface com.atlassian.sal.api.web.context.HttpContext
Returns:
HttpServletRequest
See Also:
HttpContext.getRequest()

getResponse

public javax.servlet.http.HttpServletResponse getResponse()
Specified by:
getResponse in interface com.atlassian.sal.api.web.context.HttpContext
Returns:
HttpServletResponse
See Also:
HttpContext.getResponse()

getSession

public javax.servlet.http.HttpSession getSession(boolean create)
Specified by:
getSession in interface com.atlassian.sal.api.web.context.HttpContext
Parameters:
create -
Returns:
HttpSession
See Also:
HttpContext.getSession(boolean)


Copyright © 2003–2015 Atlassian. All rights reserved.