So... seems like we both push to master. #3
1 changed files with 5 additions and 0 deletions
|
@ -12,4 +12,9 @@ public class Response {
|
||||||
this.content = content;
|
this.content = content;
|
||||||
this.exchange = exchange;
|
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