responseAsByte = new HttpArticleListRequestHandler().run(articleLimit);
} catch (Exception e) {}
}
contentType = "application/json";
} else if (decoder.path().equals("/marshaller")) {
responseAsByte = new HttpJsonMarshallHandler(jsonContent).run();
if (responseAsByte != null) {
ctx.writeAndFlush(new DefaultFullHttpResponse(HTTP_1_1, OK)).addListener(ChannelFutureListener.CLOSE);
}
else {
ctx.writeAndFlush(new DefaultFullHttpResponse(HTTP_1_1, INTERNAL_SERVER_ERROR)).addListener(ChannelFutureListener.CLOSE);