WebserviceMockEventListener

interface WebserviceMockEventListener : TraceEventListener

Functions

Link copied to clipboard
abstract fun onChannelClosed(request: WebserviceMockRequest, mockConfig: WebserviceMockConfig)
Link copied to clipboard
abstract fun onHttpMethodNotSupported(request: WebserviceMockRequest)
Link copied to clipboard
abstract fun onRequest(request: WebserviceMockRequest, mockConfig: WebserviceMockConfig)
Link copied to clipboard
abstract fun onResponse(    request: WebserviceMockRequest,     mockConfig: WebserviceMockConfig,     response: WebserviceMockResponse)

Also contains request data too to facilitate tests can verify requests and response data without matching two events.

Inherited functions

Link copied to clipboard
open fun d(message: String, e: Throwable?)
Link copied to clipboard
open fun e(message: String, e: Throwable?)
Link copied to clipboard
open fun i(message: String, e: Throwable?)
Link copied to clipboard
open fun incorrectLogSignatureFound()
Link copied to clipboard
open fun v(message: String, e: Throwable?)
Link copied to clipboard
open fun w(message: String, e: Throwable?)