Class DummyContainer

java.lang.Object
de.galan.commons.test.DummyContainer
All Implemented Interfaces:
org.simpleframework.http.core.Container

public abstract class DummyContainer extends Object implements org.simpleframework.http.core.Container
For usage with the simpleframework webserver in the SimpleWebserverTestParent.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(org.simpleframework.http.Request req, org.simpleframework.http.Response resp)
     
    abstract void
    serve(org.simpleframework.http.Request req, org.simpleframework.http.Response resp)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DummyContainer

      public DummyContainer()
  • Method Details

    • handle

      public void handle(org.simpleframework.http.Request req, org.simpleframework.http.Response resp)
      Specified by:
      handle in interface org.simpleframework.http.core.Container
    • serve

      public abstract void serve(org.simpleframework.http.Request req, org.simpleframework.http.Response resp) throws Exception
      Throws:
      Exception