Fields Summary |
---|
public static final int | OKSuccess |
public static final int | ERRORGeneric error |
public static final int | ERROR_LOOKUPServer or proxy hostname lookup failed |
public static final int | ERROR_UNSUPPORTED_AUTH_SCHEMEUnsupported authentication scheme (ie, not basic or digest) |
public static final int | ERROR_AUTHUser authentication failed on server |
public static final int | ERROR_PROXYAUTHUser authentication failed on proxy |
public static final int | ERROR_CONNECTCould not connect to server |
public static final int | ERROR_IOFailed to write to or read from server |
public static final int | ERROR_TIMEOUTConnection timed out |
public static final int | ERROR_REDIRECT_LOOPToo many redirects |
public static final int | ERROR_UNSUPPORTED_SCHEMEUnsupported URI scheme (ie, not http, https, etc) |
public static final int | ERROR_FAILED_SSL_HANDSHAKEFailed to perform SSL handshake |
public static final int | ERROR_BAD_URLBad URL |
public static final int | FILE_ERRORGeneric file error for file:/// loads |
public static final int | FILE_NOT_FOUND_ERRORFile not found error for file:/// loads |
public static final int | TOO_MANY_REQUESTS_ERRORToo many requests queued |
static final int[] | errorStringResources |
Methods Summary |
---|
public void | certificate(SslCertificate certificate)SSL certificate callback called every time a resource is
loaded via a secure connection
|
public void | data(byte[] data, int len)An array containing all or part of the http body as read from
the server.
|
public void | endData()Called when the document is completely read. No more data()
callbacks will be made after this call
|
public void | error(int id, java.lang.String description)There was trouble.
|
public void | handleSslErrorRequest(SslError error)SSL certificate error callback. Handles SSL error(s) on the way
up to the user. The callback has to make sure that restartConnection() is called,
otherwise the connection will be suspended indefinitely.
|
public void | headers(Headers headers)Called after all headers are successfully processed.
|
public void | status(int major_version, int minor_version, int code, java.lang.String reason_phrase)Called after status line has been sucessfully processed.
|