|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VelocityRequestContext
A context that allows for different implementations depending on whether it is running in the scope of a web request, or via email.
VelocityRequestContextFactory| Method Summary | |
|---|---|
String |
getBaseUrl()
|
String |
getCanonicalBaseUrl()
|
String |
getRequestParameter(String name)
Convenience method to return the value from the requestParameter map stored with the name parameter. |
RequestContextParameterHolder |
getRequestParameters()
Returns a RequestContextParameterHolder with various HttpServletRequest parameters. |
VelocityRequestSession |
getSession()
Retrieve the VelocityRequestSession for the current user. |
| Method Detail |
|---|
String getBaseUrl()
String getCanonicalBaseUrl()
RequestContextParameterHolder getRequestParameters()
String getRequestParameter(String name)
name - parameter name
VelocityRequestSession getSession()
VelocityRequestSession for the current user.
This will be null if you did not come in through a Http Request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||