This commit is contained in:
@@ -148,6 +148,15 @@ public abstract class Response<C extends Context, R extends Request<C>> {
|
|||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否已关闭
|
||||||
|
*
|
||||||
|
* @return boolean
|
||||||
|
*/
|
||||||
|
public boolean isClosed() {
|
||||||
|
return !this.inited;
|
||||||
|
}
|
||||||
|
|
||||||
public void finish() {
|
public void finish() {
|
||||||
this.finish(false);
|
this.finish(false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user