![JAR search and dependency download from the Maven repository](/logo.png)
com.ociweb.pronghorn.network.config.HTTPRevisionDefaults Maven / Gradle / Ivy
package com.ociweb.pronghorn.network.config;
public enum HTTPRevisionDefaults implements HTTPRevision {
HTTP_0_9("HTTP/0.9"),
HTTP_1_0("HTTP/1.0"),
HTTP_1_1("HTTP/1.1");
private CharSequence key;
private byte[] bytes;
private HTTPRevisionDefaults(String headerKey) {
key = headerKey;
bytes = headerKey.trim().getBytes();
}
public CharSequence getKey() {
return key;
}
public byte[] getBytes() {
return bytes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy