public class URL.HttpURLConnection

  1. Object
  2. URL.URLConnection
  3. URL.HttpURLConnection

Methods

public void connect() throws IOException
public void setRequestMethod(String method)
public int getContentLength()
public String getContentType()
public String getHeaderField(String s)
public Map<String, List<String>> getHeaderFields()
public InputStream getInputStream() throws IOException
public OutputStream getOutputStream() throws IOException

Inherited methods

Method details

connect

public void connect() throws IOException

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 IOException

getOutputStream

public OutputStream getOutputStream() throws IOException