This commit is contained in:
@@ -53,6 +53,10 @@ public abstract class Request {
|
|||||||
channel = null; // close it by response
|
channel = null; // close it by response
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected boolean isTCP() {
|
||||||
|
return channel != null && channel.isTCP();
|
||||||
|
}
|
||||||
|
|
||||||
protected void setProperty(String name, Object value) {
|
protected void setProperty(String name, Object value) {
|
||||||
properties.put(name, value);
|
properties.put(name, value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user