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 Type
  Method
  Description
  `void`
  `onUriChanged(int requestType, Uri from, Uri to)`
  Called when a `Request` uri is changed by a modifier This is internal Uri change event and is not invoked e.g.

- ## Method Details

  - ### onUriChanged

    void onUriChanged(int requestType, @NonNull Uri from, @NonNull Uri to)
    Called when a `Request` 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 used `HttpListener.onRedirect(int, int, URL, URL)`
    Parameters:
      `requestType` - Data type for this request, one of `Request#DATA_TYPE_*`
      `from` - Original `Uri`
      `to` - Updated `Uri`