public class URL.HttpURLConnection
- Object
- URL.URLConnection
- URL.HttpURLConnection
Methods
Inherited methods
Method details
connect
public void connect()
throws IOExceptionThrows
setRequestMethod
public void setRequestMethod(String method)getContentLength
public int getContentLength()getContentType
public String getContentType()getHeaderField
public String getHeaderField(String s)getHeaderFields
public Map<String, List<String>> getHeaderFields()getInputStream
public InputStream getInputStream()
throws IOExceptionThrows
getOutputStream
public OutputStream getOutputStream()
throws IOException