Package com.castlabs.android.network
Class BaseRequestModifier
java.lang.Object
com.castlabs.android.network.BaseRequestModifier
- All Implemented Interfaces:
RequestModifier
Modifier applying
PlayerConfig.contentParameters,
PlayerConfig.contentQueryParameters,
PlayerConfig.segmentParameters and
PlayerConfig.segmentQueryParameters if any to the Request-
Nested Class Summary
Nested classes/interfaces inherited from interface com.castlabs.android.network.RequestModifier
RequestModifier.Listener -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BaseRequestModifier
Constructs the Modifier- Parameters:
playerConfig-PlayerConfigholding request parameters
-
-
Method Details
-
onRequest
Description copied from interface:RequestModifierCalled with the current request object. Note: Do not return null here. If no modification should be applied, return the received request- Specified by:
onRequestin interfaceRequestModifier- Parameters:
request- The request object- Returns:
- The potentially modified request instance. Do not return null here
-