public final class HostAccessors extends Object
HostAccessor
instances.Modifier and Type | Method and Description |
---|---|
static com.palantir.giraffe.internal.LocalHostAcessorProvider.LocalHostAccessor |
getDefault()
Gets a
HostAccessor for the local host. |
static HostAccessor |
newAccessor(SystemRequest request)
Gets a new
HostAccessor for given request. |
public static com.palantir.giraffe.internal.LocalHostAcessorProvider.LocalHostAccessor getDefault()
HostAccessor
for the local host.
The HostControlSystem
for the local host is always open; closing
it has no effect.
public static HostAccessor newAccessor(SystemRequest request)
HostAccessor
for given request.
This method exists primarily for programmatic access. System
implementations are encouraged to provide, and clients are encouraged to
use, public named implementations of HostAccessor
.
request
- the SystemRequest
HostAccessor