Package com.castlabs.android.network
Interface RequestModifier.Listener
- Enclosing interface:
RequestModifier
public static interface RequestModifier.Listener
Listener related to
RequestModifier
events-
Method Summary
Modifier and TypeMethodDescriptionvoid
onUriChanged
(int requestType, Uri from, Uri to) Called when aRequest
uri is changed by a modifier This is internal Uri change event and is not invoked e.g.
-
Method Details
-
onUriChanged
Called when aRequest
uri is changed by a modifier This is internal Uri change event and is not invoked e.g. on HTTP redirects. For the latter, HTTP listener shall be usedHttpListener.onRedirect(int, int, URL, URL)
- Parameters:
requestType
- Data type for this request, one ofRequest#DATA_TYPE_*
from
- OriginalUri
to
- UpdatedUri
-