Method Summary |
|
public void | addExitListener(SExitListener listener) |
public void | addFrame(SFrame frame) Describe addFrame method here. |
public void | addPropertyChangeListener(PropertyChangeListener listener) |
public void | addPropertyChangeListener(String propertyName, PropertyChangeListener listener) Describe addPropertyChangeListener method here. |
public void | addRequestListener(SRequestListener listener) |
public boolean | containsProperty(String key) |
public String | createUniqueId() Creates a session context unique ID, that can be used as an identifier,
i.e. |
protected void | destroy() |
void | determineLocale() |
public void | exit(String redirectAddress) Exit the current session and redirect to other URL.
This removes the session and its associated
application from memory. |
public void | exit() Exit the current session and redirect to new application instance.
This removes the session and its associated
application from memory. |
protected void | finalize() |
final void | firePrepareExit() Fire an RequestEvent at each registered listener. |
final void | firePrepareExit(boolean ignoreVeto) |
void | fireRequestEvent(int type) Fire an RequestEvent at each registered listener. |
void | fireRequestEvent(int type, ExternalizedResource resource) Fire an RequestEvent at each registered listener. |
public CGManager | getCGManager() The CG manager is responsible to provide the renderer implementation (aka. |
public String | getCharacterEncoding() The current character encoding used for the communication with the clients userAgent. |
public SComponent | getComponentByName(String name) |
public SComponent | getComponentByName(SContainer container, String name) Search in the given SContainer for the SComponent with the given name. |
public LowLevelEventDispatcher | getDispatcher() The low level event dispatcher is responsible for taking an HTTP request,
parse it contents and delegate the so called low level events to the
registered
org.wings.LowLevelEventListener s (i.e. |
public DragAndDropManager | getDragAndDropManager() |
public String | getExitAddress() |
public SExitListener[] | getExitListeners() |
public ExternalizeManager | getExternalizeManager() The Externalize manager is response to provide all
org.wings.Resource via HTTP to the client. |
public Set<SFrame> | getFrames() Describe frames method here. |
public Locale | getLocale() The Locale of the current session. |
final public boolean | getLocaleFromHeader() Indicates if the wings session servlet should adopt the clients Locale provided by the
browsers in the HTTP header. |
final public int | getMaxContentLength() Get the maximum content length (file size) for a post
request. |
public MenuManager | getMenuManager() |
final public Map | getProperties() Describe getProperties method here. |
public Object | getProperty(String key) Gets the session property indicated by the specified key.
Parameters: key - the name of the session property. |
public Object | getProperty(String key, Object def) Gets the session property indicated by the specified key.
Parameters: key - the name of the session property. Parameters: def - a default value. |
public String | getRedirectAddress() |
public ReloadManager | getReloadManager() The reload manager responsible for the component invalidation
of the components contained in this wingS session. |
public ResourceMapper | getResourceMapper() |
public SFrame | getRootFrame() The root frame is the first shown frame. |
public ScriptManager | getScriptManager() |
public ServletContext | getServletContext() The current servlet context provided by the underlying
servlet container. |
public HttpServletRequest | getServletRequest() |
public HttpServletResponse | getServletResponse() The current HTTP servlet response which the framework will deliver
after processing the current request. |
final public SessionStatistics | getStatistics() |
final public Locale[] | getSupportedLocales() Returns the locales, supported by this application. |
public SToolTipManager | getToolTipManager() |
public Browser | getUserAgent() Returns the current browser of the client detected by the
User-Agent parameter of the initial HTTP request
for this user session. |
public boolean | hasDragAndDropManager() |
public void | init(ServletConfig servletConfig, HttpServletRequest request, HttpServletResponse response) Detect user agent (userAgent). |
public void | init(HttpServletRequest request) Detect user agent (userAgent). |
protected void | initMaxContentLength() |
protected void | initProps(ServletConfig servletConfig) Copy the init parameters. |
protected void | initProps(ServletContext servletContext) |
public void | removeExitListener(SExitListener listener) |
public void | removeFrame(SFrame frame) Describe removeFrame method here. |
public Object | removeProperty(String key) |
public void | removePropertyChangeListener(PropertyChangeListener listener) |
public void | removePropertyChangeListener(String propertyName, PropertyChangeListener listener) Describe removePropertyChangeListener method here. |
public void | removeRequestListener(SRequestListener listener) |
public void | setCharacterEncoding(String characterEncoding) The current character encoding used for the communication with the clients userAgent.
If null then the current characterEncoding is determined by the current
session Locale via the charset.properties map.
Parameters: characterEncoding - The charcterEncoding which should be enforces for this session (i.e. |
public void | setDndManager(DragAndDropManager dndManager) |
public void | setLocale(Locale locale) Sets the locale for this session. |
final public void | setLocaleFromHeader(boolean adoptLocale) Indicates if the wings session servlet should adopt the clients Locale provided by the
browsers in the HTTP header. |
final public void | setMaxContentLength(int l) Set the maximum content length (file size) for a post
request. |
public Object | setProperty(String key, Object value) Sets the session property indicated by the specified key.
Parameters: key - the name of the session property. Parameters: value - the value of the session property. |
public void | setRedirectAddress(String redirectAddress) |
public void | setReloadManager(ReloadManager reloadManager) Override the current reload manager. |
public void | setResourceMapper(ResourceMapper resourceMapper) |
void | setServletRequest(HttpServletRequest servletRequest) |
void | setServletResponse(HttpServletResponse servletResponse) Sets the current servlet response in progress. |
final public void | setSupportedLocales(Locale[] locales) sets the locales, supported by this application. |
public void | setUserAgentFromRequest(HttpServletRequest request) Describe setUserAgentFromRequest method here. |