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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
enhanceConnection
(HttpsURLConnection connection) Modify the connection-object before it is opened.boolean
Determines whether the requesthandler is used.Methods inherited from class com.subaio.fintechbridge.RequestHandler
getDefaultError, getFlattenedHeaders, handle, setHeaders
-
Constructor Details
-
NativeRequestHandler
public NativeRequestHandler()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Description copied from class:RequestHandler
Determines whether the requesthandler is used. Defaults to checking for SDKs below 24, since this is where native SSL pinning was added.- Overrides:
isEnabled
in classRequestHandler
- Returns:
- Is request handling necessary
-
enhanceConnection
Description copied from class:RequestHandler
Modify the connection-object before it is opened.- Specified by:
enhanceConnection
in classRequestHandler
-