Package org.openrefine.commands
Class HttpHeadersSupport
- java.lang.Object
-
- org.openrefine.commands.HttpHeadersSupport
-
public abstract class HttpHeadersSupport extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpHeadersSupport.HttpHeaderInfo
-
Field Summary
Fields Modifier and Type Field Description protected static Map<String,HttpHeadersSupport.HttpHeaderInfo>s_headers
-
Constructor Summary
Constructors Constructor Description HttpHeadersSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpHeadersSupport.HttpHeaderInfogetHttpHeaderInfo(String header)static Set<String>getHttpHeaderLabels()static voidregisterHttpHeader(String header, String defaultValue)
-
-
-
Field Detail
-
s_headers
protected static final Map<String,HttpHeadersSupport.HttpHeaderInfo> s_headers
-
-
Method Detail
-
registerHttpHeader
public static void registerHttpHeader(String header, String defaultValue)
- Parameters:
header-defaultValue-
-
getHttpHeaderInfo
public static HttpHeadersSupport.HttpHeaderInfo getHttpHeaderInfo(String header)
-
-