Interface IExecutionContext.IRequest
- Enclosing interface:
- IExecutionContext
public static interface IExecutionContext.IRequest
The request interface.
- Since:
- 2.1
- Version:
- 1.0, 09/09/2009
- Author:
- vlygeros
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptiongetAttribute(String key) Gets an attribute from the request.Gets all the attribute names.Returns the base server url (e.g.Return base application url (ex : http://vdocservername:vdocserverport/vdocpath)Gets the context path.getCookieValue(String name) Gets a cookie valueGets the input stream of the request.Gets the native request object.getParameter(String key) Gets a parameter by its key.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.Gets the requested string.Gets the request URI.Gets the scheme (http, https, ...).getScope()Gets the server name.intGets the port number.Gets the session.Gets the user agent.booleanisSecure()check if the connection is securevoidsetAttribute(String key, Object value) Sets an attribute.voidsetContextKey(String contextKey) void
- 
Method Details- 
getNativeRequestObject getNativeRequest()Gets the native request object.- Returns:
- Returns the native request object.
 
- 
setAttributeSets an attribute.- Parameters:
- key- The key of the attribute.
- value- The value of the attribute.
 
- 
getAttributeGets an attribute from the request.- Parameters:
- key- The key of the attribute to retrieve.
- Returns:
- A value associated to the attribute.
 
- 
getAttributeNamesEnumeration getAttributeNames()Gets all the attribute names.- Returns:
- An java.util.Enumeration object.
 
- 
getSessionIExecutionContext.ISession getSession()Gets the session.- Returns:
- A IExecutionContext.ISessionobject.
 
- 
getUserAgentString getUserAgent()Gets the user agent.- Returns:
- The user agent as a java.lang.String object.
 
- 
getQueryStringString getQueryString()Gets the requested string.- Returns:
- The requested string as a java.lang.String object.
 
- 
getParameterMapMap getParameterMap()Gets the parmeter map.- Returns:
- The parameter map.
 
- 
getParameterGets a parameter by its key.- Parameters:
- key- The key of the parameter.
- Returns:
- The parameter associated with the key.
 
- 
getParametersGets all the parameters associated with a key.- Parameters:
- key- The key of the parameters.
- Returns:
- All the parameters associated with the key.
 
- 
getParameterValuesGets all the values associated with a key.- Parameters:
- key- The key of the parameters.
- Returns:
- All the values associated with the key.
 
- 
getCookieValueGets a cookie value- Parameters:
- name-
- Returns:
- A java.lang.String object.
 
- 
getRequestURIString getRequestURI()Gets the request URI.- Returns:
- A java.lang.String object.
 
- 
getContextPathString getContextPath()Gets the context path.- Returns:
- A java.lang.String object.
 
- 
getSchemeString getScheme()Gets the scheme (http, https, ...).- Returns:
- A java.lang.String object.
 
- 
getServerNameString getServerName()Gets the server name.- Returns:
- A java.lang.String object.
 
- 
getServerPortint getServerPort()Gets the port number.- Returns:
- The port number.
 
- 
getInputStreamGets the input stream of the request.- Returns:
- A InputStreamobject.
- Throws:
- IOException- An IO exception.
 
- 
getResponseContentTypeString getResponseContentType()
- 
getContentTypeString getContentType()
- 
getScopeString getScope()
- 
setScope
- 
getContextKeyString getContextKey()
- 
setContextKey
- 
getLocaleLocale getLocale()
- 
getLocalesEnumeration getLocales()
- 
getRemoteAddrString getRemoteAddr()
- 
getRemoteHostString getRemoteHost()
- 
getRemoteUserString getRemoteUser()
- 
getBaseUrlString getBaseUrl()Return base application url (ex : http://vdocservername:vdocserverport/vdocpath)- Returns:
- base application url
 
- 
getBaseServerUrlString getBaseServerUrl()Returns the base server url (e.g. : http://vdocservername:vdocserverport)- Returns:
- base server url
 
- 
getRefererString getReferer()
- 
getHeader
- 
getRequestURLStringBuffer getRequestURL()
- 
isSecureboolean isSecure()check if the connection is secure- Returns:
- true is scheme is https
 
 
-