@Test public void isFormURLEncodedContentType() { Assert.assertTrue(HttpUtilities.isFormURLEncodedContentType("application/x-www-form-urlencoded")); Assert.assertFalse(HttpUtilities.isFormURLEncodedContentType("application/x-javascript")); }
static public boolean isFormURLEncodedContentType(String contentType) { return FORM_URL_ENCODED_CONSTANT.equals(contentType); }
HttpUtilities { static public boolean isFormURLEncodedContentType(String contentType) { return FORM_URL_ENCODED_CONSTANT.equals(contentType); } }
HttpUtilities { static public boolean isFormURLEncodedContentType(String contentType) { return FORM_URL_ENCODED_CONSTANT.equals(contentType); } private  HttpUtilities(); }
HttpUtilities { static public boolean isFormURLEncodedContentType(String contentType) { return FORM_URL_ENCODED_CONSTANT.equals(contentType); } private  HttpUtilities(); static boolean isTextContentType(String contentType); static boolean isFormURLEncodedContentType(String contentType); static boolean isCompressedContentEncoding(String encodingName); static Map<String, String> stringToUrlParams(String paramsString, String charset); static String urlParamsToString(Map<String, String> params, String charset); }
HttpUtilities { static public boolean isFormURLEncodedContentType(String contentType) { return FORM_URL_ENCODED_CONSTANT.equals(contentType); } private  HttpUtilities(); static boolean isTextContentType(String contentType); static boolean isFormURLEncodedContentType(String contentType); static boolean isCompressedContentEncoding(String encodingName); static Map<String, String> stringToUrlParams(String paramsString, String charset); static String urlParamsToString(Map<String, String> params, String charset); final static String GZIP_CONSTANT; final static String DEFLATE_CONSTANT; final static String UTF8_CONSTANT; final static String HTTP_SCHEME; final static String HTTPS_SCHEME; final static int HTTP_DEFAULT_PORT; final static int HTTPS_DEFAULT_PORT; }