Proposed change to implement Feature requeeeessssst
This commit is contained in:
parent
ee57821c87
commit
4707c4fe2f
1 changed files with 5 additions and 0 deletions
|
@ -12,4 +12,9 @@ public class Response {
|
|||
this.content = content;
|
||||
this.exchange = exchange;
|
||||
}
|
||||
public Response(int code, String[] content, HttpExchange exchange) {
|
||||
this.code = code;
|
||||
this.content = String.join("", content);
|
||||
this.exchange = exchange;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue