Tighten up visibility

This commit is contained in:
Norman Maurer 2013-02-11 07:26:10 +01:00
parent 7e95be0295
commit 0e47fb50e2
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ public class HttpRequestEncoder extends HttpObjectEncoder<HttpRequest> {
private static final char SLASH = '/';
@Override
public boolean acceptOutboundMessage(Object msg) throws Exception {
protected boolean acceptOutboundMessage(Object msg) throws Exception {
return super.acceptOutboundMessage(msg) && !(msg instanceof HttpResponse);
}

View File

@ -27,7 +27,7 @@ import static io.netty.handler.codec.http.HttpConstants.*;
public class HttpResponseEncoder extends HttpObjectEncoder<HttpResponse> {
@Override
public boolean acceptOutboundMessage(Object msg) throws Exception {
protected boolean acceptOutboundMessage(Object msg) throws Exception {
return super.acceptOutboundMessage(msg) && !(msg instanceof HttpRequest);
}

View File

@ -72,7 +72,7 @@ public abstract class ChannelOutboundMessageHandlerAdapter<I>
*
* @param msg the message
*/
public boolean acceptOutboundMessage(Object msg) throws Exception {
protected boolean acceptOutboundMessage(Object msg) throws Exception {
return msgMatcher.match(msg);
}