org.zodiac.sdk.nio.channeling.http.HttpStreamRequestCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zodiac-sdk-nio Show documentation
Show all versions of zodiac-sdk-nio Show documentation
Zodiac SDK NIO2(New Non-Blocking IO)
package org.zodiac.sdk.nio.channeling.http;
import org.zodiac.sdk.nio.channeling.ChannelingSocket;
public interface HttpStreamRequestCallback {
void headerAccept(byte[] chunked, int offset, int length, ChannelingSocket socket) throws Exception;
// void headerEnd(byte[] chunked, int offset, int length, ChannelingSocket socket) throws Exception;
void accept(byte[] chunked, int offset, int length, ChannelingSocket socket);
void last(byte[] chunked, int offset, int length, ChannelingSocket socket);
void error(Exception e, ChannelingSocket socket);
}