From 4707c4fe2f95d1d4c45f3f0c42ace3af85ca91e7 Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Sat, 10 Jun 2017 00:19:07 -0700 Subject: [PATCH] Proposed change to implement Feature requeeeessssst --- src/buttondevteam/website/io/Response.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/buttondevteam/website/io/Response.java b/src/buttondevteam/website/io/Response.java index a7155aa..9cd9db0 100644 --- a/src/buttondevteam/website/io/Response.java +++ b/src/buttondevteam/website/io/Response.java @@ -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; + } }