com.king.platform.net.http.NioCallbackAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of king-http-client Show documentation
Show all versions of king-http-client Show documentation
A asyncronous http client built ontop of netty.
package com.king.platform.net.http;
import io.netty.buffer.ByteBuf;
import io.netty.handler.codec.http.HttpHeaders;
import io.netty.handler.codec.http.HttpResponseStatus;
public interface NioCallbackAdapter extends NioCallback {
@Override
default void onConnecting() {
}
@Override
default void onConnected() {
}
@Override
default void onWroteHeaders() {
}
@Override
default void onWroteContentProgressed(long progress, long total) {
}
@Override
default void onWroteContentCompleted() {
}
@Override
default void onReceivedStatus(HttpResponseStatus httpResponseStatus) {
}
@Override
default void onReceivedHeaders(HttpHeaders httpHeaders) {
}
@Override
default void onReceivedContentPart(int len, ByteBuf buffer) {
}
@Override
default void onReceivedCompleted(HttpResponseStatus httpResponseStatus, HttpHeaders httpHeaders) {
}
@Override
default void onError(Throwable throwable) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy