Java com.squareup.okhttp Callback fields, constructors, methods, implement or subclass

Example usage for Java com.squareup.okhttp Callback fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.squareup.okhttp Callback.

The text is from its open source code.

Implementation

com.squareup.okhttp.Callback has the following implementations.
Click this link to see all its implementation.

Constructor

Method

voidonFailure(Request request, IOException e)
Called when the request could not be executed due to cancellation, a connectivity problem or timeout.
voidonResponse(Response response)
Called when the HTTP response was successfully returned by the remote server.