public static interface IExecutionContext.IRequest
IExecutionContext
,
IExecutionContext.IRequest
,
IExecutionContext.IResponse
,
IExecutionContext.ISession
,
IExecutionContext.IRequestDispatcher
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String key)
Gets an attribute from the request.
|
Enumeration |
getAttributeNames()
Gets all the attribute names.
|
String |
getBaseServerUrl()
Returns the base server url (e.g.
|
String |
getBaseUrl()
Return base application url (ex : http://vdocservername:vdocserverport/vdocpath)
|
String |
getContentType() |
String |
getContextKey() |
String |
getContextPath()
Gets the context path.
|
String |
getCookieValue(String name)
Gets a cookie value
|
String |
getHeader(String key) |
InputStream |
getInputStream()
Gets the input stream of the request.
|
Locale |
getLocale() |
Enumeration |
getLocales() |
Object |
getNativeRequest()
Gets the native request object.
|
String |
getParameter(String key)
Gets a parameter by its key.
|
Map |
getParameterMap()
Gets the parmeter map.
|
String[] |
getParameters(String key)
Gets all the parameters associated with a key.
|
String[] |
getParameterValues(String key)
Gets all the values associated with a key.
|
String |
getQueryString()
Gets the requested string.
|
String |
getReferer() |
String |
getRemoteAddr() |
String |
getRemoteHost() |
String |
getRemoteUser() |
String |
getRequestURI()
Gets the request URI.
|
StringBuffer |
getRequestURL() |
String |
getResponseContentType() |
String |
getScheme()
Gets the scheme (http, https, ...).
|
String |
getScope() |
String |
getServerName()
Gets the server name.
|
int |
getServerPort()
Gets the port number.
|
IExecutionContext.ISession |
getSession()
Gets the session.
|
String |
getUserAgent()
Gets the user agent.
|
boolean |
isSecure()
check if the connection is secure
|
void |
setAttribute(String key,
Object value)
Sets an attribute.
|
void |
setContextKey(String contextKey) |
void |
setScope(String scope) |
Object getNativeRequest()
void setAttribute(String key, Object value)
key
- The key of the attribute.value
- The value of the attribute.Object getAttribute(String key)
key
- The key of the attribute to retrieve.Enumeration getAttributeNames()
IExecutionContext.ISession getSession()
IExecutionContext.ISession
object.String getUserAgent()
String getQueryString()
Map getParameterMap()
String getParameter(String key)
key
- The key of the parameter.String[] getParameters(String key)
key
- The key of the parameters.String[] getParameterValues(String key)
key
- The key of the parameters.String getCookieValue(String name)
name
- String getRequestURI()
String getContextPath()
String getScheme()
String getServerName()
int getServerPort()
InputStream getInputStream() throws IOException
InputStream
object.IOException
- An IO exception.String getResponseContentType()
String getContentType()
String getScope()
void setScope(String scope)
String getContextKey()
void setContextKey(String contextKey)
Locale getLocale()
Enumeration getLocales()
String getRemoteAddr()
String getRemoteHost()
String getRemoteUser()
String getBaseUrl()
String getBaseServerUrl()
String getReferer()
StringBuffer getRequestURL()
boolean isSecure()
Copyright © 2021 Visiativ Software. All rights reserved.