Package org.elasticsearch.river.mongodb.rest

Examples of org.elasticsearch.river.mongodb.rest.XContentThrowableRestResponse


        }
    }

    private void errorResponse(RestRequest request, RestChannel channel, Throwable e) {
        try {
            channel.sendResponse(new XContentThrowableRestResponse(request, e));
            logger.error("errorResponse", e);
        } catch (IOException ioEx) {
            logger.error("Failed to send failure response", ioEx);
        }
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.river.mongodb.rest.XContentThrowableRestResponse

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.