Package com.subaio.fintechbridge
Class NativeRequestHandler
java.lang.Object
com.subaio.fintechbridge.RequestHandler
com.subaio.fintechbridge.NativeRequestHandler
Request handle for native SSL pinning only.
 SSL pinning will be disabled for API level <24
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidenhanceConnection(HttpsURLConnection connection) Modify the connection-object before it is opened.booleanDetermines whether the requesthandler is used.Methods inherited from class com.subaio.fintechbridge.RequestHandlergetDefaultError, getFlattenedHeaders, handle, setHeaders
- 
Constructor Details- 
NativeRequestHandlerpublic NativeRequestHandler()
 
- 
- 
Method Details- 
isEnabledpublic boolean isEnabled()Description copied from class:RequestHandlerDetermines whether the requesthandler is used. Defaults to checking for SDKs below 24, since this is where native SSL pinning was added.- Overrides:
- isEnabledin class- RequestHandler
- Returns:
- Is request handling necessary
 
- 
enhanceConnectionDescription copied from class:RequestHandlerModify the connection-object before it is opened.- Specified by:
- enhanceConnectionin class- RequestHandler
 
 
-