com.iprogrammerr.bright.server.protocol.RequestResponseProtocol Maven / Gradle / Ivy
package com.iprogrammerr.bright.server.protocol;
import java.io.InputStream;
import java.io.OutputStream;
import com.iprogrammerr.bright.server.request.Request;
import com.iprogrammerr.bright.server.response.Response;
public interface RequestResponseProtocol {
Request read(InputStream inputStream) throws Exception;
void write(OutputStream outputStream, Response response) throws Exception;
boolean closeConnection(Request request);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy