Package com.oracle.bmc.http.internal
Class HeaderUtils
- java.lang.Object
- 
- com.oracle.bmc.http.internal.HeaderUtils
 
- 
 public class HeaderUtils extends Object Utilities to deal with header values.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringAUTHORIZATION_HEADER_NAMESee {@link HTTP/1.1 documentation}.static StringMEDIA_TYPE_APPLICATION_JSONA String constant representing “application/json”" media type.
 - 
Constructor SummaryConstructors Constructor Description HeaderUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TtoValue(String headerName, String value, Class<T> clazz)Deserialize a header value to its desired type if possible.
 
- 
- 
- 
Field Detail- 
AUTHORIZATION_HEADER_NAMEpublic static final String AUTHORIZATION_HEADER_NAME See {@link HTTP/1.1 documentation}.- See Also:
- Constant Field Values
 
 - 
MEDIA_TYPE_APPLICATION_JSONpublic static final String MEDIA_TYPE_APPLICATION_JSON A String constant representing “application/json”" media type.- See Also:
- Constant Field Values
 
 
- 
 
-