public interface RequestContext
It is designed to make the signature of XEL functions
(see ServletFns
) simpler.
For example, ServletFns.isExplorer()
requires
no argument, since it assumes the current context can be retrieved
from RequestContexts.getCurrent()
.
Modifier and Type | Method and Description |
---|---|
java.io.Writer |
getOut()
Returns the writer, never null.
|
javax.servlet.ServletRequest |
getRequest()
Returns the request, or null if not available.
|
javax.servlet.ServletResponse |
getResponse()
Returns the response, or null if not available.
|
javax.servlet.ServletContext |
getServletContext()
Returns the request, or null if not available.
|
VariableResolver |
getVariableResolver()
Returns the variable resolver.
|
java.io.Writer getOut() throws java.io.IOException
java.io.IOException
javax.servlet.ServletRequest getRequest()
javax.servlet.ServletResponse getResponse()
javax.servlet.ServletContext getServletContext()
VariableResolver getVariableResolver()
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.