本文整理了Java中org.apache.coyote.Request.setStartTime
方法的一些代码示例,展示了Request.setStartTime
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.setStartTime
方法的具体详情如下:
包路径:org.apache.coyote.Request
类名称:Request
方法名:setStartTime
暂无
代码示例来源:origin: jboss.web/jbossweb
request.setStartTime(System.currentTimeMillis());
} catch (IOException e) {
error = true;
代码示例来源:origin: org.jboss.web/jbossweb
request.setStartTime(System.currentTimeMillis());
} catch (IOException e) {
error = true;
代码示例来源:origin: org.glassfish.metro/webservices-extra
request.setStartTime(System.currentTimeMillis());
if ( handler != null &&
handler.handle(request,Handler.REQUEST_LINE_PARSED)
代码示例来源:origin: jboss.web/jbossweb
request.setStartTime(System.currentTimeMillis());
keptAlive = true;
if (!disableUploadTimeout) {
代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource
request.setStartTime(System.currentTimeMillis());
} catch (IOException e) {
error = true;
代码示例来源:origin: jboss.web/jbossweb
request.setStartTime(System.currentTimeMillis());
} catch (IOException e) {
error = true;
代码示例来源:origin: org.jboss.web/jbossweb
request.setStartTime(System.currentTimeMillis());
keptAlive = true;
if (!disableUploadTimeout && soTimeout > 0) {
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
Stream(Integer identifier, Http2UpgradeHandler handler, Request coyoteRequest) {
super(identifier);
this.handler = handler;
handler.addChild(this);
setWindowSize(handler.getRemoteSettings().getInitialWindowSize());
state = new StreamStateMachine(this);
if (coyoteRequest == null) {
// HTTP/2 new request
this.coyoteRequest = new Request();
this.inputBuffer = new StreamInputBuffer();
this.coyoteRequest.setInputBuffer(inputBuffer);
} else {
// HTTP/1.1 upgrade
this.coyoteRequest = coyoteRequest;
this.inputBuffer = null;
// Headers have been populated by this point
state.receivedStartOfHeaders();
// TODO Assuming the body has been read at this point is not valid
state.receivedEndOfStream();
}
this.coyoteRequest.setSendfile(handler.hasAsyncIO() && handler.getProtocol().getUseSendfile());
this.coyoteResponse.setOutputBuffer(http2OutputBuffer);
this.coyoteRequest.setResponse(coyoteResponse);
this.coyoteRequest.protocol().setString("HTTP/2.0");
if (this.coyoteRequest.getStartTime() < 0) {
this.coyoteRequest.setStartTime(System.currentTimeMillis());
}
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
request.setStartTime(System.currentTimeMillis());
} catch (IOException e) {
error = true;
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
break;
request.setStartTime(System.currentTimeMillis());
} catch (IOException e) {
error = true;
代码示例来源:origin: org.jboss.web/jbossweb
request.setStartTime(System.currentTimeMillis());
} catch (IOException e) {
error = true;
代码示例来源:origin: jboss.web/jbossweb
break;
request.setStartTime(System.currentTimeMillis());
keptAlive = true;
if (!disableUploadTimeout) {
代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource
request.setStartTime(System.currentTimeMillis());
} catch (IOException e) {
error = true;
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
request.setStartTime(System.currentTimeMillis());
} catch (IOException e) {
error = true;
代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource
tmpMB2.recycle();
req.setStartTime(System.currentTimeMillis());
代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote
request.setStartTime(System.currentTimeMillis());
} catch (IOException e) {
error = true;
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
request.setStartTime(System.currentTimeMillis());
} catch (IOException e) {
error = true;
代码示例来源:origin: org.jboss.web/jbossweb
break;
request.setStartTime(System.currentTimeMillis());
keptAlive = true;
if (!disableUploadTimeout && soTimeout > 0) {
代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote
break;
request.setStartTime(System.currentTimeMillis());
} catch (IOException e) {
error = true;
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
request.setStartTime(System.currentTimeMillis());
} catch (IOException e) {
setErrorState(ErrorState.CLOSE_CONNECTION_NOW, e);
内容来源于网络,如有侵权,请联系作者删除!