org.simpleframework.http.Request.getRequestTime()方法的使用及代码示例

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

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

Request.getRequestTime介绍

[英]This is the time in milliseconds when the request was first read from the underlying socket. The time represented here represents the time collection of this request began. This does not necessarily represent the time the bytes arrived as as some data may have been buffered before it was parsed.
[中]这是第一次从底层套接字读取请求的时间(以毫秒为单位)。此处表示的时间表示此请求的收集开始的时间。这不一定代表字节到达的时间,因为一些数据在解析之前可能已被缓冲。

代码示例

代码示例来源:origin: org.simpleframework/simple

/**
* This is the time in milliseconds when the request was first
* read from the underlying socket. The time represented here
* represents the time collection of this request began. This 
* does not necessarily represent the time the bytes arrived as
* as some data may have been buffered before it was parsed.
* 
* @return this represents the time the request arrived at
*/
public long getRequestTime() {
 return request.getRequestTime();
}

代码示例来源:origin: org.simpleframework/simple-http

/**
* This is the time in milliseconds when the request was first
* read from the underlying socket. The time represented here
* represents the time collection of this request began. This 
* does not necessarily represent the time the bytes arrived as
* as some data may have been buffered before it was parsed.
* 
* @return this represents the time the request arrived at
*/
public long getRequestTime() {
 return request.getRequestTime();
}

代码示例来源:origin: ngallagher/simpleframework

/**
* This is the time in milliseconds when the request was first
* read from the underlying socket. The time represented here
* represents the time collection of this request began. This 
* does not necessarily represent the time the bytes arrived as
* as some data may have been buffered before it was parsed.
* 
* @return this represents the time the request arrived at
*/
public long getRequestTime() {
 return request.getRequestTime();
}

代码示例来源:origin: lantunes/fixd

public long getTime() {
  
  return request.getRequestTime();
}

相关文章