|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HTTPServer<C extends ServiceConfig>
describes the public interface for the HTTP protocol server. The HTTP server is used as a backend for i.e. JSON requests, to enable a remote user interface especially for windows systems..
Method Summary | |
---|---|
String |
generateReply(HttpStatusCode status,
String message)
assembles a very basic reply. |
C |
getConfig()
accessor to service configuration |
File |
getDocumentRoot()
the document root is used as a base for file access. |
String |
serverID()
assembles a response string to identify the server. |
Method Detail |
---|
String generateReply(HttpStatusCode status, String message)
status
- - the http status codemessage
- - the body content
C getConfig()
File getDocumentRoot()
String serverID()
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |