public class HttpContext extends Object implements com.atlassian.sal.api.web.context.HttpContext
ExecutingHttpRequest
class.Constructor and Description |
---|
HttpContext() |
Modifier and Type | Method and Description |
---|---|
javax.servlet.http.HttpServletRequest |
getRequest() |
javax.servlet.http.HttpServletResponse |
getResponse() |
javax.servlet.http.HttpSession |
getSession(boolean create) |
public javax.servlet.http.HttpServletRequest getRequest()
getRequest
in interface com.atlassian.sal.api.web.context.HttpContext
HttpContext.getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
getResponse
in interface com.atlassian.sal.api.web.context.HttpContext
HttpContext.getResponse()
public javax.servlet.http.HttpSession getSession(boolean create)
getSession
in interface com.atlassian.sal.api.web.context.HttpContext
create
- should be true to create a new session for the active request or false to return
null if there is no current sessionHttpContext.getSession(boolean)
Copyright © 2002-2018 Atlassian. All Rights Reserved.