Cleaned Http handling a bit.
This commit is contained in:
parent
9ce160f1b9
commit
d1f280eb0f
11 changed files with 143 additions and 51 deletions
|
|
@ -8,8 +8,7 @@ import java.util.Map;
|
|||
public class HttpResponse {
|
||||
private HttpServerConnection connection;
|
||||
public String version = "1.1";
|
||||
public int statusCode = 200;
|
||||
public String statusMessage = "OK";
|
||||
public HttpStatus status = null;
|
||||
public Map<String, String> fields = new HashMap<String, String>();
|
||||
|
||||
private OutputStream body;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue