org.apache.coyote.Request.setStartTime()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(4.1k)|赞(0)|评价(0)|浏览(271)

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

Request.setStartTime介绍

暂无

代码示例

代码示例来源:origin: jboss.web/jbossweb

  1. request.setStartTime(System.currentTimeMillis());
  2. } catch (IOException e) {
  3. error = true;

代码示例来源:origin: org.jboss.web/jbossweb

  1. request.setStartTime(System.currentTimeMillis());
  2. } catch (IOException e) {
  3. error = true;

代码示例来源:origin: org.glassfish.metro/webservices-extra

  1. request.setStartTime(System.currentTimeMillis());
  2. if ( handler != null &&
  3. handler.handle(request,Handler.REQUEST_LINE_PARSED)

代码示例来源:origin: jboss.web/jbossweb

  1. request.setStartTime(System.currentTimeMillis());
  2. keptAlive = true;
  3. if (!disableUploadTimeout) {

代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource

  1. request.setStartTime(System.currentTimeMillis());
  2. } catch (IOException e) {
  3. error = true;

代码示例来源:origin: jboss.web/jbossweb

  1. request.setStartTime(System.currentTimeMillis());
  2. } catch (IOException e) {
  3. error = true;

代码示例来源:origin: org.jboss.web/jbossweb

  1. request.setStartTime(System.currentTimeMillis());
  2. keptAlive = true;
  3. if (!disableUploadTimeout && soTimeout > 0) {

代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

  1. Stream(Integer identifier, Http2UpgradeHandler handler, Request coyoteRequest) {
  2. super(identifier);
  3. this.handler = handler;
  4. handler.addChild(this);
  5. setWindowSize(handler.getRemoteSettings().getInitialWindowSize());
  6. state = new StreamStateMachine(this);
  7. if (coyoteRequest == null) {
  8. // HTTP/2 new request
  9. this.coyoteRequest = new Request();
  10. this.inputBuffer = new StreamInputBuffer();
  11. this.coyoteRequest.setInputBuffer(inputBuffer);
  12. } else {
  13. // HTTP/1.1 upgrade
  14. this.coyoteRequest = coyoteRequest;
  15. this.inputBuffer = null;
  16. // Headers have been populated by this point
  17. state.receivedStartOfHeaders();
  18. // TODO Assuming the body has been read at this point is not valid
  19. state.receivedEndOfStream();
  20. }
  21. this.coyoteRequest.setSendfile(handler.hasAsyncIO() && handler.getProtocol().getUseSendfile());
  22. this.coyoteResponse.setOutputBuffer(http2OutputBuffer);
  23. this.coyoteRequest.setResponse(coyoteResponse);
  24. this.coyoteRequest.protocol().setString("HTTP/2.0");
  25. if (this.coyoteRequest.getStartTime() < 0) {
  26. this.coyoteRequest.setStartTime(System.currentTimeMillis());
  27. }
  28. }

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

  1. request.setStartTime(System.currentTimeMillis());
  2. } catch (IOException e) {
  3. error = true;

代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina

  1. break;
  2. request.setStartTime(System.currentTimeMillis());
  3. } catch (IOException e) {
  4. error = true;

代码示例来源:origin: org.jboss.web/jbossweb

  1. request.setStartTime(System.currentTimeMillis());
  2. } catch (IOException e) {
  3. error = true;

代码示例来源:origin: jboss.web/jbossweb

  1. break;
  2. request.setStartTime(System.currentTimeMillis());
  3. keptAlive = true;
  4. if (!disableUploadTimeout) {

代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource

  1. request.setStartTime(System.currentTimeMillis());
  2. } catch (IOException e) {
  3. error = true;

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

  1. request.setStartTime(System.currentTimeMillis());
  2. } catch (IOException e) {
  3. error = true;

代码示例来源:origin: org.apache.coyote.springsource/com.springsource.org.apache.coyote.springsource

  1. tmpMB2.recycle();
  2. req.setStartTime(System.currentTimeMillis());

代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote

  1. request.setStartTime(System.currentTimeMillis());
  2. } catch (IOException e) {
  3. error = true;

代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina

  1. request.setStartTime(System.currentTimeMillis());
  2. } catch (IOException e) {
  3. error = true;

代码示例来源:origin: org.jboss.web/jbossweb

  1. break;
  2. request.setStartTime(System.currentTimeMillis());
  3. keptAlive = true;
  4. if (!disableUploadTimeout && soTimeout > 0) {

代码示例来源:origin: org.apache.coyote/com.springsource.org.apache.coyote

  1. break;
  2. request.setStartTime(System.currentTimeMillis());
  3. } catch (IOException e) {
  4. error = true;

代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

  1. request.setStartTime(System.currentTimeMillis());
  2. } catch (IOException e) {
  3. setErrorState(ErrorState.CLOSE_CONNECTION_NOW, e);

相关文章

Request类方法