com.microstrategy.web.platform.DisconnectedContainerServices |
![]() |
This interface represents an intermediary between the ASP.net and Microstrategy Java application. At the start of each ASP page request data and all other necessary data must be copied into the object of this class. After request processing is finished response data must be copied from this object to the response.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
addCookieToRequest(String nativeCookieName, String nativeCookieValue)
Adds request cookie to the internal collection
This method is used by non-J2EE environment to add cookies to MicroStrategy Web application.
| ||||||||||
abstract void |
addFormAndQueryString(String name, String value)
Adds a value to the request parameters collection.
| ||||||||||
abstract void |
addRequestHeader(String name, String value)
Adds request header to the internal collection
| ||||||||||
abstract void |
addServerVariable(String name, String value)
Adds a server variable with a single value.
| ||||||||||
abstract void |
addServerVariable(String name, String[] values)
Appends a collection of string values of the specified server variable.
| ||||||||||
abstract Object |
getApplicationAttribute(int index)
Returns application attribute
| ||||||||||
abstract String |
getApplicationAttributeName(int index)
Returns application attribute name
| ||||||||||
abstract int |
getApplicationAttributesCount()
Returns a number of application attributes.
| ||||||||||
abstract MarkupOutput |
getBinaryMarkup()
Returns markup outut stored at the sendBinaryContent method.
| ||||||||||
abstract String |
getContentType()
Returns response content type
| ||||||||||
abstract boolean |
getCreateNewSessionValue()
Gets a boolean value indicating whether create a new http session
| ||||||||||
abstract int |
getErrorCode()
Returns the error status code for response.
| ||||||||||
abstract String |
getErrorMessage()
Returns the error message for response.
| ||||||||||
abstract AppGlobalContext |
getGlobalContext()
Returns the global context held by this services.
| ||||||||||
abstract Object |
getRequestAttribute(int index)
Returns requst attribute
| ||||||||||
abstract String |
getRequestAttributeName(int index)
Returns requst attribute name
| ||||||||||
abstract int |
getRequestAttributesCount()
Returns a number of request attributes.
| ||||||||||
abstract GenericCookie |
getResponseCookie(int index)
Returns a cookie that must be added to the response
| ||||||||||
abstract int |
getResponseCookiesCount()
Returns number of cookeis that must be added to the response
| ||||||||||
abstract String |
getResponseHeaderName(int index)
Returns response header name
| ||||||||||
abstract String |
getResponseHeaderValue(int index)
Returns response header value
| ||||||||||
abstract int |
getResponseHeadersCount()
Returns number of response headers
| ||||||||||
abstract Object |
getSessionAttribute(int i)
Returns session attribute
| ||||||||||
abstract String |
getSessionAttributeName(int i)
Returns session attribute name
| ||||||||||
abstract int |
getSessionAttributesCount()
Returns a number of session attributes.
| ||||||||||
abstract void |
handleMultipartRequest(byte[] request)
This method shall be called if the request type is multipart/form-data
| ||||||||||
abstract void |
setCreateNewSessionValue(boolean value)
Sets a boolean indicating whether create a new http session
| ||||||||||
abstract void |
setGlobalContext(AppGlobalContext globalContext)
Sets current application global context.
| ||||||||||
abstract void |
setMethod(String method)
Sets the request method
| ||||||||||
abstract void |
setNativeSessionAttribute(String nativeName, Object nativeValue)
This method sets the value of a Session Attribute without using namespace in Session variable.
| ||||||||||
abstract void |
setQueryString(String queryString)
Sets HTTP request query string
| ||||||||||
abstract void |
setRemoteAddress(String remoteAddress)
Set the remote (IP) address for this request
| ||||||||||
abstract void |
setRequestSecure(boolean value)
Sets a boolean indicating whether this request was made using a secure channel, such as HTTPS
| ||||||||||
abstract void |
setSessionID(String sessionID)
Sets the HTTP session ID
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Adds request cookie to the internal collection This method is used by non-J2EE environment to add cookies to MicroStrategy Web application.
nativeCookieName | The native cookie name used in browser |
---|---|
nativeCookieValue | The native cookie value stored in browser |
Adds a value to the request parameters collection. There can be several values assosiated with the same name in this collection.
name | parameter name. |
---|---|
value | parameter value. |
Adds request header to the internal collection
name | header name |
---|---|
value | header value |
Adds a server variable with a single value. If the server variable already exists, appends the new value
name | the name of the server variable. |
---|---|
value | the value of the server variable. |
Appends a collection of string values of the specified server variable. If the server variable already exists, appends the new values.
name | the name of the server variable. |
---|---|
values | an array of string values of the server variable. |
Returns application attribute
index | an index in the attribute collection |
---|
Returns application attribute name
index | an index in the attribute collection |
---|
Returns a number of application attributes. The Application attributes is a read-writy collection. Attributes can be replaced in it during execution. Therefore entire collection shall be copied in and out of disconnected container services.
Returns markup outut stored at the sendBinaryContent method. If this method returns not null the content of markup output must be displayed.
Returns response content type
Gets a boolean value indicating whether create a new http session
Returns the error status code for response.
Returns the error message for response.
Returns the global context held by this services.
nulll
will be returned.
Returns requst attribute
index | an index in the attribute collection |
---|
Returns requst attribute name
index | an index in the attribute collection |
---|
Returns a number of request attributes. The request attributes is a read-writy collection. Attributes can be replaced in it during execution. Therefore entire collection shall be copied in and out of disconnected container services.
Returns a cookie that must be added to the response
index | an index in the cookies collection |
---|
Returns number of cookeis that must be added to the response
Returns response header name
index | an index in the collection |
---|
Returns response header value
index | an index in the collection |
---|
Returns number of response headers
Returns session attribute
i | an index in the attribute collection |
---|
Returns session attribute name
i | an index in the attribute collection |
---|
Returns a number of session attributes. The session attributes is a read-writy collection. Attributes can be replaced in it during execution. Therefore entire collection shall be copied in and out of disconnected container services.
This method shall be called if the request type is multipart/form-data
request | a byte array containing entire HTTP request |
---|
IOException |
---|
Sets a boolean indicating whether create a new http session
Sets current application global context.
globalContext | is an AppGlobalContext object.
|
---|
Sets the request method
This method sets the value of a Session Attribute without using namespace in Session variable.
nativeName | A String which identifies the name of the attribute. |
---|---|
nativeValue | An Object representing the value of a named attribute.
If used in namespaced mode, the native value should containes the namespace encoding, that can be loaded by
load(String) |
Sets HTTP request query string
queryString | request query string |
---|
Set the remote (IP) address for this request
remoteAddress | IP address |
---|
Sets a boolean indicating whether this request was made using a secure channel, such as HTTPS
Sets the HTTP session ID
sessionID | HTTP session ID |
---|