java.lang.Object
cloud.piranha.http.tests.HttpServerTest
An abstract JUnit test for any HttpServer implementation.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract HttpServer
createServer
(int portNumber) Create server with a port.protected abstract HttpServer
createServer
(int portNumber, HttpServerProcessor processor) Create server with a port and processor.
-
Constructor Details
-
HttpServerTest
public HttpServerTest()
-
-
Method Details
-
createServer
Create server with a port.- Parameters:
portNumber
- the port number.- Returns:
- the HTTP server.
-
createServer
Create server with a port and processor.- Parameters:
portNumber
- the port number.processor
- the HTTP processor.- Returns:
- the HTTP server.
-