![JAR search and dependency download from the Maven repository](/logo.png)
com.ociweb.pronghorn.network.http.HTTPClientConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Pronghorn Show documentation
Show all versions of Pronghorn Show documentation
Primary dependency for any project using the Pronghorn framework
The newest version!
package com.ociweb.pronghorn.network.http;
import java.io.IOException;
import javax.net.ssl.SSLEngine;
import com.ociweb.pronghorn.network.ClientConnection;
import com.ociweb.pronghorn.struct.StructRegistry;
import com.ociweb.pronghorn.util.TrieParser;
public class HTTPClientConnection extends ClientConnection {
private final StructRegistry schema;
public final TrieParser headerParser;
public HTTPClientConnection(SSLEngine engine, CharSequence host,
int hostId, int port, int sessionId, int pipeIdx,
long conId,
StructRegistry schema, int structId, TrieParser headerParser) throws IOException {
super(engine, host, hostId, port, sessionId, pipeIdx, conId, structId);
this.schema = schema;
this.headerParser = headerParser;
}
public T associatedFieldObject(long fieldToken) {
return schema.getAssociatedObject(fieldToken);
}
public int totalSizeOfIndexes() {
return schema.totalSizeOfIndexes(structureId);
}
public TrieParser headerParser() {
return headerParser;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy