org.apache.catalina.connector.Request.finishRequest()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(113)

本文整理了Java中org.apache.catalina.connector.Request.finishRequest方法的一些代码示例,展示了Request.finishRequest的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.finishRequest方法的具体详情如下:
包路径:org.apache.catalina.connector.Request
类名称:Request
方法名:finishRequest

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();

相关文章

Request类方法