APIdia Launch Partner
Top Fields Methods
com.sun.webkit

public Interface LoadListenerClient

Known Direct Implementers
javafx.scene.web.WebEngine.PageLoadListener, com.sun.javafx.webkit.drt.DumpRenderTree.DRTLoadListener
Imports
java.lang.annotation.Native

Field Summary

Modifier and TypeField and Description
public static final int
CONNECTION_REFUSED

An error code indicating that the connection was refused by the server.

public static final int
CONNECTION_RESET

An error code indicating that the connection was reset by the server.

public static final int
CONNECTION_TIMED_OUT

An error code indicating that the connection timed out.

public static final int
public static final int
public static final int
public static final int
FILE_NOT_FOUND

An error code indicating that the requested local file was not found.

public static final int
public static final int
INVALID_RESPONSE

An error code indicating that the server response was invalid.

public static final int
public static final int
public static final int
MALFORMED_URL

An error code indicating that the URL was malformed or illegal.

public static final int
NO_ROUTE_TO_HOST

An error code indicating that there was no route to the host.

public static final int
public static final int
public static final int
public static final int
public static final int
PERMISSION_DENIED

An error code indicating that the client was denied permission to initiate connection to the server.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
SSL_HANDSHAKE

An error code indicating that the SSL handshake failed.

public static final int
public static final int
TOO_MANY_REDIRECTS

An error code indicating that too many redirects were encountered while processing the request.

public static final int
UNKNOWN_ERROR

An error code indicating that an unknown error occurred.

public static final int
UNKNOWN_HOST

An error code indicating that the host name couldn't be resolved.

Method Summary

Modifier and TypeMethod and Description
public void
dispatchLoadEvent(long frame, int state, String url, String contentType, double progress, int errorCode)

public void
dispatchResourceLoadEvent(long frame, int state, String url, String contentType, double progress, int errorCode)

Field Detail

CONNECTION_REFUSEDback to summary
public static final int CONNECTION_REFUSED

An error code indicating that the connection was refused by the server.

Annotations
@Native
CONNECTION_RESETback to summary
public static final int CONNECTION_RESET

An error code indicating that the connection was reset by the server.

Annotations
@Native
CONNECTION_TIMED_OUTback to summary
public static final int CONNECTION_TIMED_OUT

An error code indicating that the connection timed out.

Annotations
@Native
CONTENT_RECEIVEDback to summary
public static final int CONTENT_RECEIVED
Annotations
@Native
CONTENTTYPE_RECEIVEDback to summary
public static final int CONTENTTYPE_RECEIVED
Annotations
@Native
DOCUMENT_AVAILABLEback to summary
public static final int DOCUMENT_AVAILABLE
Annotations
@Native
FILE_NOT_FOUNDback to summary
public static final int FILE_NOT_FOUND

An error code indicating that the requested local file was not found.

Annotations
@Native
ICON_RECEIVEDback to summary
public static final int ICON_RECEIVED
Annotations
@Native
INVALID_RESPONSEback to summary
public static final int INVALID_RESPONSE

An error code indicating that the server response was invalid.

Annotations
@Native
LOAD_FAILEDback to summary
public static final int LOAD_FAILED
Annotations
@Native
LOAD_STOPPEDback to summary
public static final int LOAD_STOPPED
Annotations
@Native
MALFORMED_URLback to summary
public static final int MALFORMED_URL

An error code indicating that the URL was malformed or illegal.

Annotations
@Native
NO_ROUTE_TO_HOSTback to summary
public static final int NO_ROUTE_TO_HOST

An error code indicating that there was no route to the host.

Annotations
@Native
PAGE_FINISHEDback to summary
public static final int PAGE_FINISHED
Annotations
@Native
PAGE_REDIRECTEDback to summary
public static final int PAGE_REDIRECTED
Annotations
@Native
PAGE_REPLACEDback to summary
public static final int PAGE_REPLACED
Annotations
@Native
PAGE_STARTEDback to summary
public static final int PAGE_STARTED
Annotations
@Native
PERMISSION_DENIEDback to summary
public static final int PERMISSION_DENIED

An error code indicating that the client was denied permission to initiate connection to the server.

Annotations
@Native
PROGRESS_CHANGEDback to summary
public static final int PROGRESS_CHANGED
Annotations
@Native
RESOURCE_FAILEDback to summary
public static final int RESOURCE_FAILED
Annotations
@Native
RESOURCE_FINISHEDback to summary
public static final int RESOURCE_FINISHED
Annotations
@Native
RESOURCE_REDIRECTEDback to summary
public static final int RESOURCE_REDIRECTED
Annotations
@Native
RESOURCE_STARTEDback to summary
public static final int RESOURCE_STARTED
Annotations
@Native
SSL_HANDSHAKEback to summary
public static final int SSL_HANDSHAKE

An error code indicating that the SSL handshake failed.

Annotations
@Native
TITLE_RECEIVEDback to summary
public static final int TITLE_RECEIVED
Annotations
@Native
TOO_MANY_REDIRECTSback to summary
public static final int TOO_MANY_REDIRECTS

An error code indicating that too many redirects were encountered while processing the request.

Annotations
@Native
UNKNOWN_ERRORback to summary
public static final int UNKNOWN_ERROR

An error code indicating that an unknown error occurred.

Annotations
@Native
UNKNOWN_HOSTback to summary
public static final int UNKNOWN_HOST

An error code indicating that the host name couldn't be resolved.

Annotations
@Native

Method Detail

dispatchLoadEventback to summary
public void dispatchLoadEvent(long frame, int state, String url, String contentType, double progress, int errorCode)
dispatchResourceLoadEventback to summary
public void dispatchResourceLoadEvent(long frame, int state, String url, String contentType, double progress, int errorCode)