org.elasticsearch.http.nio.NioHttpRequestCreator Maven / Gradle / Ivy
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
package org.elasticsearch.http.nio;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToMessageDecoder;
import io.netty.handler.codec.http.FullHttpRequest;
import org.elasticsearch.ExceptionsHelper;
import java.util.List;
@ChannelHandler.Sharable
class NioHttpRequestCreator extends MessageToMessageDecoder {
@Override
protected void decode(ChannelHandlerContext ctx, FullHttpRequest msg, List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy