Package org.xbib.elasticsearch.http.netty

Examples of org.xbib.elasticsearch.http.netty.NettyHttpRequest


    }

    public void dispatchRequest(final RestRequest request, final RestChannel channel) {
        try {
            if (request instanceof NettyHttpRequest) {
                NettyHttpRequest nettyHttpRequest = (NettyHttpRequest)request;
                if ("PATCH".equalsIgnoreCase(nettyHttpRequest.getMethod())) {
                    RestHandler handler = patchHandlers.retrieve(request.rawPath());
                    if (handler != null) {
                        handler.handleRequest(request, channel);
                    }
                }
View Full Code Here

TOP

Related Classes of org.xbib.elasticsearch.http.netty.NettyHttpRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.