public class Request extends Object
Also after the refactoring it would contain the `state` object - the only thing that will change during the request, all other resources would be stateless.
| Constructor and Description |
|---|
Request(Globals globals,
javax.servlet.http.HttpServletRequest request,
String encoding) |
Request(Globals globals,
String path,
Map<String,String> params) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
Globals |
getGlobals() |
javax.servlet.http.HttpServletRequest |
getOriginalRequest() |
Map<String,String> |
getParams() |
String |
getPath() |
String |
getType() |
static String |
getType(String path) |
String |
getUrl() |
boolean |
isCacheable() |
public String getPath()
public javax.servlet.http.HttpServletRequest getOriginalRequest()
public String getType()
public String getContentType()
public static String getType(String path)
path - path of HTTP request.public String getUrl()
public boolean isCacheable()
public Globals getGlobals()
Copyright © 2017 Atlassian. All rights reserved.