public class WebserverHandle
Class which represents a handle to a webserver process and its class NetworkHostAndPort
for testing purposes.
class NetworkHostAndPort
Constructor and Description |
---|
WebserverHandle(NetworkHostAndPort listenAddress,
java.lang.Process process)
Deprecated.
Class which represents a handle to a webserver process and its
class NetworkHostAndPort for testing purposes. |
Modifier and Type | Method and Description |
---|---|
NetworkHostAndPort |
component1()
Deprecated.
The
|
java.lang.Process |
component2()
Deprecated.
The
|
WebserverHandle |
copy(NetworkHostAndPort listenAddress,
java.lang.Process process)
Deprecated.
Class which represents a handle to a webserver process and its
class NetworkHostAndPort for testing purposes. |
boolean |
equals(java.lang.Object p)
Deprecated.
|
NetworkHostAndPort |
getListenAddress()
Deprecated.
The
|
java.lang.Process |
getProcess()
Deprecated.
The
|
int |
hashCode()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public WebserverHandle(NetworkHostAndPort listenAddress, java.lang.Process process)
Class which represents a handle to a webserver process and its class NetworkHostAndPort
for testing purposes.
listenAddress
- The class NetworkHostAndPort
for communicating with this webserver.process
- The Process in which the websever is runningclass NetworkHostAndPort
public NetworkHostAndPort getListenAddress()
The
class NetworkHostAndPort
for communicating with this webserver.
class NetworkHostAndPort
public java.lang.Process getProcess()
The
Process in which the websever is running
public NetworkHostAndPort component1()
The
class NetworkHostAndPort
for communicating with this webserver.
class NetworkHostAndPort
public java.lang.Process component2()
The
Process in which the websever is running
public WebserverHandle copy(NetworkHostAndPort listenAddress, java.lang.Process process)
Class which represents a handle to a webserver process and its class NetworkHostAndPort
for testing purposes.
class NetworkHostAndPort
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)