com.prolixtech.jaminid_examples
Class HelloWorldServer
public class HelloWorldServer
String | demultiplex(Request connRequest, Response connResponse) - the main function of the oracle, is to demux the request and produce an
output that is relative to the request.
|
static void | main(String[] args)
|
HELLO
public static String HELLO
PORT
public static final int PORT
demultiplex
public String demultiplex(Request connRequest,
Response connResponse)
the main function of the oracle, is to demux the request and produce an
output that is relative to the request.
in this example, it is a static HTML, that is all we care about for now.
- demultiplex in interface ContentOracle
connRequest
- connResponse
-
main
public static void main(String[] args)