EchoPoint API - 3.0.0b5
App Webcontainer

echopoint
Class Servlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by nextapp.echo.webcontainer.WebContainerServlet
              extended by echopoint.Servlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public abstract class Servlet
extends WebContainerServlet

A servlet class that can be used to set up the default font properties for the application using init parameters. An example configuration of the servlet would be as follows:

  <servlet>
    <servlet-name>servlet</servlet-name>
    <servlet-class>echopoint.Servlet</servlet-class>
    <init-param>
      <param-name>echopoint.style.DefaultFont.typeface</param-name>
      <param-value>'Verdana, Times New Roman, Lucida Grande'</param-value>
    </init-param>
    <init-param>
      <param-name>echopoint.style.DefaultFont.style</param-name>
      <param-value>PLAIN</param-value>
    </init-param>
    <init-param>
      <param-name>echopoint.style.DefaultFont.size</param-name>
      <param-value>10pt</param-value>
    </init-param>
  </servlet>
 

Version:
$Id: Servlet.java 202 2009-05-14 21:36:37Z sptrakesh $
Author:
Rakesh 2009-05-13
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class nextapp.echo.webcontainer.WebContainerServlet
WebContainerServlet.MultipartRequestWrapper
 
Field Summary
 
Fields inherited from class nextapp.echo.webcontainer.WebContainerServlet
DEBUG_PRINT_MESSAGES_TO_CONSOLE, DISABLE_CACHING, ENABLE_CLIENT_DEBUG_CONSOLE, INSTANCE_MODE_SINGLE, INSTANCE_MODE_WINDOW, SERVICE_ID_BLANK_DOCUMENT, SERVICE_ID_DEFAULT, SERVICE_ID_NEW_INSTANCE, SERVICE_ID_PARAMETER, SERVICE_ID_SESSION_EXPIRED, USER_INSTANCE_ID_PARAMETER
 
Constructor Summary
Servlet()
           
 
Method Summary
protected  void configureFont()
          Configure DefaultFont properties.
 void init()
          Set up default properties configured as init parameters.
 
Methods inherited from class nextapp.echo.webcontainer.WebContainerServlet
addInitScript, addInitStyleSheet, doGet, doPost, getActiveConnection, getInitScripts, getInitStyleSheets, getInstanceMode, getMultipartRequestWrapper, getResourceRegistry, getServiceRegistry, newApplicationInstance, process, setMultipartRequestWrapper
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Servlet

public Servlet()
Method Detail

init

public void init()
          throws ServletException
Set up default properties configured as init parameters.

Overrides:
init in class GenericServlet
Throws:
ServletException

configureFont

protected void configureFont()
Configure DefaultFont properties.


EchoPoint API - 3.0.0b5
App Webcontainer