public final class URLConnectionUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String[]> |
getFormParams(HttpURLConnection conn) |
static Map<String,String[]> |
getQueryParams(HttpURLConnection conn) |
static Map<String,String[]> |
getRequestParams(HttpURLConnection conn) |
static String |
readFormBody(HttpURLConnection conn) |
public static Map<String,String[]> getQueryParams(HttpURLConnection conn) throws MiniAuthException
MiniAuthExceptionpublic static Map<String,String[]> getFormParams(HttpURLConnection conn) throws MiniAuthException, IOException
MiniAuthExceptionIOExceptionpublic static Map<String,String[]> getRequestParams(HttpURLConnection conn) throws MiniAuthException, IOException
MiniAuthExceptionIOExceptionpublic static String readFormBody(HttpURLConnection conn) throws IOException
IOExceptionCopyright © 2013. All rights reserved.