aboutsummaryrefslogtreecommitdiff
path: root/src/uk/org/ury/server/Server.java
diff options
context:
space:
mode:
authorMatt Windsor <mattwindsor@btinternet.com>2011-03-19 13:06:38 +0000
committerMatt Windsor <mattwindsor@btinternet.com>2011-03-19 13:06:38 +0000
commit2efb758e7c2bd85801c76305161d9d8fa6d2be4b (patch)
tree8072dcfb2ed1dd34c17d05488c64b245be74cf28 /src/uk/org/ury/server/Server.java
parentdfde3f3d62ee5de17d09195513711fd006cbf270 (diff)
LibraryViewer: move to ResourceBundled text for localisation and decoupling purposes; warning cleanup; import of json_simple in preparation for JSON protocol implementation.
Diffstat (limited to 'src/uk/org/ury/server/Server.java')
-rw-r--r--src/uk/org/ury/server/Server.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/uk/org/ury/server/Server.java b/src/uk/org/ury/server/Server.java
index 6ac192c..5273362 100644
--- a/src/uk/org/ury/server/Server.java
+++ b/src/uk/org/ury/server/Server.java
@@ -21,12 +21,10 @@ import java.util.HashMap;
import java.util.Map;
import org.apache.http.Header;
-import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.HttpVersion;
import org.apache.http.ParseException;
-import org.apache.http.entity.BasicHttpEntity;
import org.apache.http.entity.StringEntity;
import org.apache.http.message.BasicHttpResponse;
import org.apache.http.protocol.HTTP;
@@ -55,7 +53,6 @@ public class Server
private ServerSocket serverSocket;
- private static final String HTTP_VERSION = "HTTP/1.1";
private static final String SERVER_VERSION = "SLUT 0.0";
private static final String DOCTYPE =
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\""