本文整理了Java中org.apache.catalina.connector.Request.finishRequest
方法的一些代码示例,展示了Request.finishRequest
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.finishRequest
方法的具体详情如下:
包路径:org.apache.catalina.connector.Request
类名称:Request
方法名:finishRequest
[英]Perform whatever actions are required to flush and close the input stream or reader, in a single operation.
[中]在单个操作中执行刷新和关闭输入流或读卡器所需的任何操作。
代码示例来源:origin: org.glassfish.main.security/websecurity
public void finishRequest() throws IOException {
httpRequest.finishRequest();
}
代码示例来源:origin: codefollower/Tomcat-Research
@Override
public void close() throws IOException {
if (request == null) {
throw new IllegalStateException(sm.getString("cometEvent.nullRequest"));
}
request.finishRequest();
response.finishResponse();
if (request.isComet()) {
request.cometClose();
}
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
@Override
public void close() throws IOException {
if (request == null) {
throw new IllegalStateException(sm.getString("cometEvent.nullRequest"));
}
request.finishRequest();
response.finishResponse();
if (request.isComet()) {
request.cometClose();
}
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
@Override
public void close() throws IOException {
if (request == null) {
throw new IllegalStateException(sm.getString("cometEvent.nullRequest"));
}
request.finishRequest();
response.finishResponse();
if (request.isComet()) {
request.cometClose();
}
}
代码示例来源:origin: org.apache.geronimo.modules/geronimo-tomcat
RequestAdapter request = new RequestAdapter(req);
ResponseAdapter response = new ResponseAdapter(res);
req.finishRequest();
if (req.getParameter("wsdl") != null) {
try {
try {
webServiceContainer.invoke(request, response);
req.finishRequest();
} catch (IOException e) {
throw e;
代码示例来源:origin: org.apache.geronimo.modules/geronimo-tomcat6
req.finishRequest();
try {
webServiceContainer.invoke(request, response);
req.finishRequest();
} catch (IOException e) {
throw e;
代码示例来源:origin: codefollower/Tomcat-Research
request.finishRequest();
response.finishResponse();
request.getMappingData().context.logAccess(
代码示例来源:origin: codefollower/Tomcat-Research
request.finishRequest();
response.finishResponse();
if (postParseSuccess &&
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
request.finishRequest();
response.finishResponse();
req.action(ActionCode.POST_REQUEST , null);
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
request.finishRequest();
response.finishResponse();
req.action(ActionCode.POST_REQUEST , null);
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
async = true;
} else if (!comet) {
request.finishRequest();
response.finishResponse();
if (postParseSuccess &&
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
request.finishRequest();
response.finishResponse();
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
async = true;
} else if (!comet) {
request.finishRequest();
response.finishResponse();
if (postParseSuccess &&
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
request.finishRequest();
response.finishResponse();
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
request.finishRequest();
response.finishResponse();
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
request.finishRequest();
response.finishResponse();
内容来源于网络,如有侵权,请联系作者删除!