public abstract class RemoteResource extends Object implements Closeable
Modifier and Type | Field and Description |
---|---|
protected String |
handle |
protected org.slf4j.Logger |
log
Logger
|
protected String |
path |
protected Requester |
requester |
Modifier | Constructor and Description |
---|---|
protected |
RemoteResource(Requester requester,
String path,
String handle) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
getPath() |
protected Request |
newRequest(PacketType type) |
String |
toString() |
protected final org.slf4j.Logger log
protected final Requester requester
protected final String path
protected final String handle
public String getPath()
protected Request newRequest(PacketType type)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2009–2017. All rights reserved.