public class CurrentHttpRequest extends Object
| Constructor and Description |
|---|
CurrentHttpRequest() |
| Modifier and Type | Method and Description |
|---|---|
static javax.servlet.ServletContext |
getContext() |
static javax.servlet.http.HttpServletRequest |
getRequest()
Gets the current http request that is stored in this class (each time a new request comes in this is changed).
|
static javax.servlet.http.HttpServletResponse |
getResponse() |
static void |
setRequest(javax.servlet.http.HttpServletRequest httpRequest) |
public static javax.servlet.ServletContext getContext()
public static javax.servlet.http.HttpServletRequest getRequest()
public static void setRequest(javax.servlet.http.HttpServletRequest httpRequest)
httpRequest - the requestpublic static javax.servlet.http.HttpServletResponse getResponse()
Copyright © 2018 Atlassian. All rights reserved.