java.lang.Object | ||||||
↳ | com.microstrategy.utils.serialization.AbstractPersistable | |||||
↳ | com.microstrategy.web.beans.AbstractTransformable | |||||
↳ | com.microstrategy.web.beans.AbstractWebComponent | |||||
↳ | com.microstrategy.web.app.beans.AbstractAppComponent | |||||
↳ | com.microstrategy.web.app.beans.AbstractPersistableAppComponent | |||||
↳ | com.microstrategy.web.app.beans.ServletWebComponent |
This class implements the WebComponent interface for having its methods available to the application Servlet.
[Expand]
Inherited Constants | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
| |||||||||||||||||||||||
![]()
| |||||||||||||||||||||||
![]()
|
[Expand]
Inherited Fields | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
| |||||||||||||||||
![]()
| |||||||||||||||||
![]()
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ServletWebComponent()
Creates a new ServletWebComponent with default parameters.
| |||||||||||
ServletWebComponent(String name)
Creates a new ServletWebComponent with default parameters but a custom name.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MarkupOutput |
generateOutput()
This Component is not used to generate output.
| ||||||||||
String |
getCurrentPort()
Returns the port of the current session
| ||||||||||
String |
getCurrentProject()
Returns the project of the current session
| ||||||||||
String |
getCurrentServer()
Returns the server of the current session
| ||||||||||
PageComponent |
getPage()
Gets the PageComponent (already initialized) to be used by this servlet.
| ||||||||||
PageHistoryList | getPageHistoryList() | ||||||||||
SimpleList |
getPendingEvents()
Returns the list of events that were not processed.
| ||||||||||
boolean | isEventWait() | ||||||||||
boolean |
isOpen()
Overrides isOpen by always returning true: there is no reason
why would the servlet be closed.
| ||||||||||
void |
saveLastSuccesfulPage()
This method is deprecated.
No replacement.
| ||||||||||
void |
saveLastSuccesfulPage(PageComponent page)
This method is deprecated.
No replacement.
| ||||||||||
void |
setIsOpen(boolean value)
This is an illegal method: the servlet should never get closed.
| ||||||||||
void |
switchPage(String pageName)
Replaces the current page in the Servlet with the indicated page
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
Proceses the save/restore state opperation of the AppComponent
| ||||||||||
WebEventHandler | newDefaultEventHandler() |
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
|
Creates a new ServletWebComponent with default parameters.
This ServletWebComponent uses "mstrWeb" as its name, ServletEventHandlerImpl
(which implements ServletEventHandler) as its event handler and has no parent.
Creates a new ServletWebComponent with default parameters but a custom name.
This ServletWebComponent uses ServletEventHandlerImpl
(which implements ServletEventHandler) as its event handler and has no parent.
This Component is not used to generate output.
Returns the port of the current session
String
value with the current port number
Returns the project of the current session
String
value with the current project name
Returns the server of the current session
String
value with the current server name
Gets the PageComponent (already initialized) to be used by this servlet.
PageComponent
already initialized to be used
Returns the list of events that were not processed.
This list is retrieved directly from the EventHandler, since it's its
responsibility. For this to happen the event handler needs to extend ServletEventHandler
.
handleRequest()
.
Overrides isOpen by always returning true: there is no reason why would the servlet be closed.
This method is deprecated.
No replacement.
Saves the information of the last succesful page so it can be restored by the cancel event.
This method is deprecated.
No replacement.
Saves the information of the last succesful page so it can be restored by the cancel event.
page | the page to save. |
---|
This is an illegal method: the servlet should never get closed. If the argument received is false, this will throw an IllegalArgumentException
value | boolean |
---|
Replaces the current page in the Servlet with the indicated page
WebBeanException | |
WebException | |
WebBeanException |
Proceses the save/restore state opperation of the AppComponent
serializer | an instance of the FlatStateSerializer object to use |
---|---|
howMuchState | defines how much information needs to be saved |
tokenizer | an instance of the FlatStateTokenizer object to use
|