All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kroxylicious.proxy.frame.RequestFrame Maven / Gradle / Ivy

/*
 * Copyright Kroxylicious Authors.
 *
 * Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
 */
package io.kroxylicious.proxy.frame;

public interface RequestFrame extends Frame {

    /**
     * Whether the response to this request should be decoded.
     * @return Whether the response to this request should be decoded.
     */
    boolean decodeResponse();

    /**
     * Whether the Kafka Client expects a response to this request
     * @return Whether the Kafka Client expects a response to this request
     */
    default boolean hasResponse() {
        return true;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy