Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.gwtext.client.core.event
Interface ConnectionListener

    public interface ConnectionListener

The ConnectionListener interface.

See Also:
  `Connection`

Method Summary
`boolean` | `doBeforeRequest(Connection conn)` Fires before a network request is made to retrieve a data object.
`void` | `onRequestComplete(Connection conn, java.lang.String responseText)` Fires if the request was successfully completed.
`void` | `onRequestException(Connection conn, int httpStatus, java.lang.String responseText)` Fires if an error HTTP status was returned from the server.

Method Detail

### doBeforeRequest

    boolean doBeforeRequest(Connection conn)

  Fires before a network request is made to retrieve a data object.

  Parameters:
    `conn` - the Collection
  Returns:
    false to abort the request

### onRequestComplete

    void onRequestComplete(Connection conn,
                           java.lang.String responseText)

  Fires if the request was successfully completed.

  Parameters:
    `conn` - the Connection
    `responseText` - the response text

### onRequestException

    void onRequestException(Connection conn,
                            int httpStatus,
                            java.lang.String responseText)

  Fires if an error HTTP status was returned from the server.

  Parameters:
    `conn` - the Connection
    `httpStatus` - the http status code
    `responseText` - the response text

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD