| java.lang.Object com.uwyn.rife.tools.HttpUtils
HttpUtils | abstract public class HttpUtils (Code) | | |
Inner Class :public static class Request | |
Inner Class :public static class Page | |
extractMimeTypeFromContentType | public static String extractMimeTypeFromContentType(String contentType)(Code) | | Extracts only the mime-type from a Content-Type HTTP header. Thus a header
like this: text/html;charset=UTF-8 will return: text/html
Parameters: contentType - the Content-Type header the content type header without the charset since: 1.6 |
|
|