From 09e8a73bf2bd14dd09cac7fe128dbd9461274650 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Wed, 26 Nov 2008 08:53:19 +0000 Subject: [PATCH] Removed unimplemented method (I think whether to keep-alive or not should be determined in the higher level) --- .../jboss/netty/handler/codec/http/DefaultHttpRequest.java | 6 ------ .../org/jboss/netty/handler/codec/http/HttpRequest.java | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/main/java/org/jboss/netty/handler/codec/http/DefaultHttpRequest.java b/src/main/java/org/jboss/netty/handler/codec/http/DefaultHttpRequest.java index 4929ee10c1..a9f2bee1d1 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/DefaultHttpRequest.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/DefaultHttpRequest.java @@ -49,10 +49,4 @@ public class DefaultHttpRequest extends DefaultHttpMessage implements HttpReques public URI getURI() { return uri; } - - - public boolean isKeepAlive() { - //todo - return true; - } } diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpRequest.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpRequest.java index 69efd98147..32601e8601 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpRequest.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpRequest.java @@ -31,8 +31,6 @@ import java.net.URI; */ public interface HttpRequest extends HttpMessage { - boolean isKeepAlive(); - HttpMethod getMethod(); URI getURI();