Package com.tomtom.ivi.platform.tools.api.testing.webservicemockcommon

Types

Link copied to clipboard
object CaptureSourceDir
Link copied to clipboard
enum DynamicHeader : Enum<DynamicHeader>
Link copied to clipboard
data class NonSensitiveUri(val value: String) : Comparable<NonSensitiveUri>

Represents a URI where optionally sensitive query parameter values are already replaced with HIDDEN_VALUE.

Properties

Link copied to clipboard
val HTTP_DATE_FORMATTER: DateTimeFormatter

Functions

Link copied to clipboard
fun AutoCloseable?.closeFinally(cause: Throwable?)

Closes this AutoCloseable, suppressing possible exception or error thrown by AutoCloseable.close function when it's being closed due to some other cause exception occurred.

Link copied to clipboard
inline fun <T : AutoCloseable?, R> T.use(block: (T) -> R): R

Executes the given block function on this resource and then closes it down correctly whether an exceptionis thrown or not.