Package org.forgerock.android.auth
Class InterceptorHandler
- java.lang.Object
-
- org.forgerock.android.auth.InterceptorHandler
-
- All Implemented Interfaces:
Interceptor.Chain
public class InterceptorHandler extends java.lang.Object implements Interceptor.Chain
Follow theInterceptor.Chainand executes eachInterceptorin the chain.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInterceptorHandler.InterceptorHandlerBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InterceptorHandler.InterceptorHandlerBuilderbuilder()android.content.ContextgetContext()Retrieve the Application contextFRListenergetListener()The listener to listen for the chain processingvoidproceed(java.lang.Object data)Proceed and execute the chain.
-
-
-
Method Detail
-
proceed
public void proceed(java.lang.Object data)
Description copied from interface:Interceptor.ChainProceed and execute the chain.- Specified by:
proceedin interfaceInterceptor.Chain- Parameters:
data- The chain context
-
builder
public static InterceptorHandler.InterceptorHandlerBuilder builder()
-
getContext
public android.content.Context getContext()
Description copied from interface:Interceptor.ChainRetrieve the Application context- Specified by:
getContextin interfaceInterceptor.Chain- Returns:
- The Application Context
-
getListener
public FRListener getListener()
Description copied from interface:Interceptor.ChainThe listener to listen for the chain processing- Specified by:
getListenerin interfaceInterceptor.Chain- Returns:
- The Listener to listen for chain event
-
-