|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
Test | Test Server response class |
DemeterF HTTP/Server related Classes/CDs.
Simple classes for writing HTTP based client/servers. We use annotations
to mark a class as a Server
with a Port
number.
Methods are annotated with a Path
that describes the base path of requests that they will handle. Handler methods
must return an HTTPResp
, and
can accept: no arguments; one HTTPReq
argument; or an HTTPReq followed by a Socket
. The request
(HTTPReq) describes the details (headers, path, body, etc.) while the Socket
describes the connection.
See Test
for a simple Server
example, and http.cd/beh for more details.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |