Package com.easypost.easyvcr
Class Utilities
java.lang.Object
com.easypost.easyvcr.Utilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanresponseCameFromRecording(HttpURLConnection connection)Check if the connection came from an EasyVCR recording.static booleanresponseCameFromRecording(HttpsURLConnection connection)Check if the connection came from an EasyVCR recording.
-
Constructor Details
-
Utilities
public Utilities()
-
-
Method Details
-
responseCameFromRecording
Check if the connection came from an EasyVCR recording.- Parameters:
connection- The connection to check.- Returns:
- True if the connection came from an EasyVCR recording.
-
responseCameFromRecording
Check if the connection came from an EasyVCR recording.- Parameters:
connection- The connection to check.- Returns:
- True if the connection came from an EasyVCR recording.
-