net.sf.jzeno.echo.script.test
Class MockServer

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by nextapp.echoservlet.EchoServer
              extended by net.sf.jzeno.echo.script.test.MockServer
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class MockServer
extends EchoServer

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class nextapp.echoservlet.EchoServer
EchoServer.MultipartRequestWrapper
 
Field Summary
 
Fields inherited from class nextapp.echoservlet.EchoServer
CHARACTER_ENCODING_ISO_8859_1, CHARACTER_ENCODING_ISO_8859_2, CHARACTER_ENCODING_ISO_8859_3, CHARACTER_ENCODING_ISO_8859_4, CHARACTER_ENCODING_ISO_8859_5, CHARACTER_ENCODING_US_ASCII, CHARACTER_ENCODING_UTF_8, ID_STRING, SERVICE_BLANK_DOCUMENT, SERVICE_CLIENT_ERROR_SCRIPT, SERVICE_COLLECTIONS_SCRIPT, SERVICE_INITIALIZER, SERVICE_SAFE_INVOKE_DEFAULT, SERVICE_SAFE_INVOKE_EXCEPTION_SUPPORT, SERVICE_SESSION_EXPIRED
 
Constructor Summary
MockServer()
           
 
Method Summary
 EchoInstance newInstance()
          A method to be provided by the derived class that will return a new EchoInstance (an instance of an Echo application).
 
Methods inherited from class nextapp.echoservlet.EchoServer
addGlobalService, doGet, doPost, getActiveRequestThreads, getApplicationProperties, getDefaultLocale, getLastModified, getMultipartRequestWrapper, getSessionExpirationUri, init, isCompressableRequest, loadPeerBindings, process, processException, setMultipartRequestWrapper
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, 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

MockServer

public MockServer()
Method Detail

newInstance

public EchoInstance newInstance()
Description copied from class: EchoServer
A method to be provided by the derived class that will return a new EchoInstance (an instance of an Echo application).

Specified by:
newInstance in class EchoServer
Returns:
A new EchoInstance for the new user.