org.jboss.arquillian.protocol.servlet
Class ServletTestRunner

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.jboss.arquillian.protocol.servlet.ServletTestRunner
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ServletTestRunner
extends javax.servlet.http.HttpServlet

ServletTestRunner The server side executor for the Servlet protocol impl. Supports multiple output modes ("outputmode"): - html - serializedObject

See Also:
Serialized Form

Nested Class Summary
static class ServletTestRunner.FailedResult
           
 
Field Summary
static java.lang.String OUTPUT_MODE_HTML
           
static java.lang.String OUTPUT_MODE_SERIALIZED
           
static java.lang.String PARA_CLASS_NAME
           
static java.lang.String PARA_METHOD_NAME
           
static java.lang.String PARA_OUTPUT_MODE
           
 
Constructor Summary
ServletTestRunner()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARA_METHOD_NAME

public static final java.lang.String PARA_METHOD_NAME
See Also:
Constant Field Values

PARA_CLASS_NAME

public static final java.lang.String PARA_CLASS_NAME
See Also:
Constant Field Values

PARA_OUTPUT_MODE

public static final java.lang.String PARA_OUTPUT_MODE
See Also:
Constant Field Values

OUTPUT_MODE_SERIALIZED

public static final java.lang.String OUTPUT_MODE_SERIALIZED
See Also:
Constant Field Values

OUTPUT_MODE_HTML

public static final java.lang.String OUTPUT_MODE_HTML
See Also:
Constant Field Values
Constructor Detail

ServletTestRunner

public ServletTestRunner()
Method Detail

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException