corda / net.corda.testing.driver / WebserverHandle

WebserverHandle

data class WebserverHandle
Deprecated: The webserver is for testing purposes only and will be removed soon

Class which represents a handle to a webserver process and its NetworkHostAndPort for testing purposes.

Constructors

<init>

WebserverHandle(listenAddress: NetworkHostAndPort, process: Process)

Class which represents a handle to a webserver process and its NetworkHostAndPort for testing purposes.

Properties

listenAddress

val listenAddress: NetworkHostAndPort

The NetworkHostAndPort for communicating with this webserver.

process

val process: Process

The Process in which the websever is running

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.