This commit is contained in:
地平线
2015-11-02 15:10:13 +08:00
parent 31f9a32749
commit d90c0445c2

View File

@@ -53,6 +53,10 @@ public abstract class Request {
channel = null; // close it by response
}
protected boolean isTCP() {
return channel != null && channel.isTCP();
}
protected void setProperty(String name, Object value) {
properties.put(name, value);
}