@@ -0,0 +1,2335 @@
+package org.jboss.resteasy.plugins.server.netty;%0A%0Aimport javax.ws.rs.core.HttpHeaders;%0A%0Aimport org.jboss.netty.buffer.ChannelBufferInputStream;%0Aimport org.jboss.netty.channel.Channel;%0Aimport org.jboss.netty.channel.ChannelHandlerContext;%0Aimport org.jboss.netty.channel.ChannelHandler.Sharable;%0Aimport org.jboss.netty.handler.codec.oneone.OneToOneDecoder;%0Aimport org.jboss.resteasy.core.SynchronousDispatcher;%0Aimport org.jboss.resteasy.logging.Logger;%0Aimport org.jboss.resteasy.specimpl.UriInfoImpl;%0Aimport org.jboss.resteasy.spi.HttpRequest;%0A%0A@Sharable%0Apublic class RestEasyHttpRequestDecoder extends OneToOneDecoder %7B%0A    private final static Logger logger = Logger.getLogger(RestEasyHttpRequestDecoder.class);%0A%0A    private final SynchronousDispatcher dispatcher;%0A    private final String servletMappingPrefix;%0A%0A    public RestEasyHttpRequestDecoder(SynchronousDispatcher dispatcher, String servletMappingPrefix) %7B%0A        this.dispatcher = dispatcher;%0A        this.servletMappingPrefix = servletMappingPrefix;%0A    %7D%0A    %0A    @Override%0A    protected Object decode(ChannelHandlerContext ctx, Channel channel, Object msg) throws Exception %7B%0A        if (!(msg instanceof org.jboss.netty.handler.codec.http.HttpRequest)) %0A        %7B%0A            return msg;%0A        %7D%0A        org.jboss.netty.handler.codec.http.HttpRequest request = (org.jboss.netty.handler.codec.http.HttpRequest) msg;%0A        NettyHttpResponse response = new NettyHttpResponse();%0A%0A        HttpHeaders headers = null;%0A        UriInfoImpl uriInfo = null;%0A        try%0A        %7B%0A           headers = NettyUtil.extractHttpHeaders(request);%0A           uriInfo = NettyUtil.extractUriInfo(request, servletMappingPrefix, %22http%22);%0A        %7D%0A        catch (Exception e)%0A        %7B%0A           response.sendError(400);%0A           // made it warn so that people can filter this.%0A           logger.warn(%22Failed to parse request.%22, e);%0A        %7D%0A%0A        HttpRequest nettyRequest = new NettyHttpRequest(headers, uriInfo, request.getMethod().getName(), dispatcher, response, org.jboss.netty.handler.codec.http.HttpHeaders.isKeepAlive(request), org.jboss.netty.handler.codec.http.HttpHeaders.is100ContinueExpected(request) );%0A        ChannelBufferInputStream is = new ChannelBufferInputStream(request.getContent());%0A        nettyRequest.setInputStream(is);%0A        return request;%0A    %7D%0A%0A%7D%0A

Add missing decoder