server.http.SessionUtil Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of server-http Show documentation
Show all versions of server-http Show documentation
Framework for delivering desktop application updates
The newest version!
package server.http;
import sqlg3.remote.server.HttpDispatcher;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.charset.StandardCharsets;
public final class SessionUtil {
public static void writeSessionInfo(OutputStream output, HttpDispatcher http) throws IOException {
output.write((http == null ? "" : http.getApplication()).getBytes(StandardCharsets.UTF_8));
}
}