diff options
Diffstat (limited to 'platform/platform-impl/src/org/jetbrains/io')
-rw-r--r-- | platform/platform-impl/src/org/jetbrains/io/BuiltInServer.java | 2 | ||||
-rw-r--r-- | platform/platform-impl/src/org/jetbrains/io/PortUnificationServerHandler.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/platform-impl/src/org/jetbrains/io/BuiltInServer.java b/platform/platform-impl/src/org/jetbrains/io/BuiltInServer.java index a7d09ab548f2..7310b936246d 100644 --- a/platform/platform-impl/src/org/jetbrains/io/BuiltInServer.java +++ b/platform/platform-impl/src/org/jetbrains/io/BuiltInServer.java @@ -170,7 +170,7 @@ public class BuiltInServer implements Disposable { @Override protected boolean process(ChannelHandlerContext context, FullHttpRequest request, QueryStringDecoder urlDecoder) throws IOException { - return (request.getMethod() == HttpMethod.POST || request.getMethod() == HttpMethod.OPTIONS) && + return (request.method() == HttpMethod.POST || request.method() == HttpMethod.OPTIONS) && XmlRpcServer.SERVICE.getInstance().process(urlDecoder.path(), request, context, handlers); } } diff --git a/platform/platform-impl/src/org/jetbrains/io/PortUnificationServerHandler.java b/platform/platform-impl/src/org/jetbrains/io/PortUnificationServerHandler.java index 3f88327d3d28..1dbf57785dac 100644 --- a/platform/platform-impl/src/org/jetbrains/io/PortUnificationServerHandler.java +++ b/platform/platform-impl/src/org/jetbrains/io/PortUnificationServerHandler.java @@ -113,7 +113,7 @@ class PortUnificationServerHandler extends Decoder { @Override public void write(ChannelHandlerContext context, Object message, ChannelPromise promise) throws Exception { if (message instanceof HttpResponse) { -// BuiltInServer.LOG.debug("OUT HTTP:\n" + message); + //BuiltInServer.LOG.debug("OUT HTTP:\n" + message); HttpResponse response = (HttpResponse)message; BuiltInServer.LOG.debug("OUT HTTP: " + response.status().code() + " " + response.headers().get(CONTENT_TYPE)); } |