io.quarkus.resteasy.runtime.standalone.BufferAllocator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-resteasy Show documentation
Show all versions of quarkus-resteasy Show documentation
REST endpoint framework implementing JAX-RS and more
package io.quarkus.resteasy.runtime.standalone;
import io.netty.buffer.ByteBuf;
public interface BufferAllocator {
ByteBuf allocateBuffer();
ByteBuf allocateBuffer(boolean direct);
ByteBuf allocateBuffer(int bufferSize);
ByteBuf allocateBuffer(boolean direct, int bufferSize);
int getBufferSize();
}