ecologylab.services.distributed.legacy
Class HTTPPostServer
java.lang.Object
ecologylab.generic.Debug
ecologylab.services.distributed.impl.NIOServerBase
ecologylab.services.distributed.server.DoubleThreadedNIOServer
ecologylab.services.distributed.legacy.HTTPPostServer
- All Implemented Interfaces:
- StartAndStoppable, NetworkingConstants, ServerConstants, SessionObjects, Shutdownable, NIOServerFrontend, java.lang.Runnable
public class HTTPPostServer
- extends DoubleThreadedNIOServer
- Author:
- eunyee
|
Field Summary |
static java.lang.String |
datastore
|
|
Constructor Summary |
protected |
HTTPPostServer(int portNumber,
java.net.InetAddress[] inetAddress,
TranslationSpace requestTranslationSpace,
Scope objectRegistry)
Instantiates an HTTPPostServer. |
|
Method Summary |
protected static HTTPPostServer |
get(int portNumber,
java.net.InetAddress inetAddress,
TranslationSpace requestTranslationSpace,
Scope objectRegistry)
Construct an instance of the TestDataServer. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class ecologylab.services.distributed.server.DoubleThreadedNIOServer |
addressToAddresses, generateContextManager, getInstance, getInstance, invalidate, isRunning, processRead, restoreContextManagerFromSessionId, run, shutdown, start, stop |
| Methods inherited from class ecologylab.generic.Debug |
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
datastore
public static java.lang.String datastore
HTTPPostServer
protected HTTPPostServer(int portNumber,
java.net.InetAddress[] inetAddress,
TranslationSpace requestTranslationSpace,
Scope objectRegistry)
throws java.io.IOException,
java.net.BindException
- Instantiates an HTTPPostServer.
- Parameters:
portNumber - inetAddress - translationSpace - objectRegistry -
- Throws:
java.io.IOException
java.net.BindException
main
public static void main(java.lang.String[] args)
throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
get
protected static HTTPPostServer get(int portNumber,
java.net.InetAddress inetAddress,
TranslationSpace requestTranslationSpace,
Scope objectRegistry)
- Construct an instance of the TestDataServer. Handle and report on
exceptions that may occur in the process.
- Returns:
- The TestDataServer instance, or null if exceptions are thrown.