Initial implementation of RestHttpPage class
This commit is contained in:
parent
6e271f56d9
commit
a7e6324a10
11 changed files with 81 additions and 35 deletions
|
|
@ -35,15 +35,14 @@ public interface HttpPage{
|
|||
* This method has to be implemented for every page.
|
||||
* This method is called when a client wants a response
|
||||
* from this specific page.
|
||||
*
|
||||
* @param out is the PrintStream to the client
|
||||
* @param client_info is information about the client
|
||||
* @param session is session values for the client
|
||||
* @param cookie is cookie information from the client
|
||||
* @param request is POST and GET requests from the client
|
||||
*/
|
||||
* @param out is the PrintStream to the client
|
||||
* @param client_info is information about the client
|
||||
* @param session is session values for the client
|
||||
* @param cookie is cookie information from the client
|
||||
* @param request is POST and GET requests from the client
|
||||
*/
|
||||
public abstract void respond(HttpPrintStream out,
|
||||
Map<String,String> client_info,
|
||||
HttpHeaderParser client_info,
|
||||
Map<String,Object> session,
|
||||
Map<String,String> cookie,
|
||||
Map<String,String> request);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue