org.eclipse.jetty.server.Request.setTimeStamp()方法的使用及代码示例

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

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

Request.setTimeStamp介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server

@Override
public void customize(EndPoint endpoint, Request request) throws IOException
{
  request.setTimeStamp(System.currentTimeMillis());
  endpoint.setMaxIdleTime(_maxIdleTime);
  super.customize(endpoint, request);
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp

@Override
public void customize(EndPoint endpoint, Request request) throws IOException
{
  request.setTimeStamp(System.currentTimeMillis());
  endpoint.setMaxIdleTime(_maxIdleTime);
  super.customize(endpoint, request);
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus

@Override
public void customize(EndPoint endpoint, Request request) throws IOException
{
  request.setTimeStamp(System.currentTimeMillis());
  endpoint.setMaxIdleTime(_maxIdleTime);
  super.customize(endpoint, request);
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-server

@Override
public void customize(EndPoint endpoint, Request request) throws IOException
{
  request.setTimeStamp(System.currentTimeMillis());
  endpoint.setMaxIdleTime(_maxIdleTime);
  super.customize(endpoint, request);
}

代码示例来源:origin: org.eclipse.jetty/server

@Override
public void customize(EndPoint endpoint, Request request) throws IOException
{
  request.setTimeStamp(System.currentTimeMillis());
  endpoint.setMaxIdleTime(_maxIdleTime);
  super.customize(endpoint, request);
}

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server

public void startForwardRequest() throws IOException
{
  _uri.clear();

  ((Ajp13Request) _request).setSslSecure(false);
  _request.setTimeStamp(System.currentTimeMillis());
  _request.setUri(_uri);
  
}

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jetty.server

public void onRequest(MetaData.Request request)
{
  _requests.incrementAndGet();
  _request.setTimeStamp(System.currentTimeMillis());
  HttpFields fields = _response.getHttpFields();
  if (_configuration.getSendDateHeader() && !fields.contains(HttpHeader.DATE))
    fields.put(_connector.getServer().getDateField());
  _request.setMetaData(request);
}

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

_request.setTimeStamp(System.currentTimeMillis());
_request.setMethod(httpMethod, method);

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

_request.setTimeStamp(System.currentTimeMillis());
_request.setMethod(httpMethod, method);

代码示例来源:origin: Nextdoor/bender

_expect102Processing = false;
_request.setTimeStamp(System.currentTimeMillis());
_request.setMethod(httpMethod, method);

代码示例来源:origin: jenkinsci/winstone

public void onRequest(MetaData.Request request)
{
  _requests.incrementAndGet();
  _request.setTimeStamp(System.currentTimeMillis());
  HttpFields fields = _response.getHttpFields();
  if (_configuration.getSendDateHeader() && !fields.contains(HttpHeader.DATE))
    fields.put(_connector.getServer().getDateField());
  long idleTO=_configuration.getIdleTimeout();
  _oldIdleTimeout=getIdleTimeout();
  if (idleTO>=0 && _oldIdleTimeout!=idleTO)
    setIdleTimeout(idleTO);
  request.setTrailerSupplier(_trailerSupplier);
  _request.setMetaData(request);
  _request.setSecure(HttpScheme.HTTPS.is(request.getURI().getScheme()));
  notifyRequestBegin(_request);
  if (LOG.isDebugEnabled())
    LOG.debug("REQUEST for {} on {}{}{} {} {}{}{}",request.getURIString(),this,System.lineSeparator(),
        request.getMethod(),request.getURIString(),request.getHttpVersion(),System.lineSeparator(),
        request.getFields());
}

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

_request.setTimeStamp(System.currentTimeMillis());
_request.setDispatcherType(DispatcherType.REQUEST);

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

_request.setTimeStamp(System.currentTimeMillis());
_request.setDispatcherType(DispatcherType.REQUEST);

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-webapp

_request.setTimeStamp(System.currentTimeMillis());
_request.setMethod(method.toString());

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-all-server

_request.setTimeStamp(System.currentTimeMillis());
_request.setMethod(method.toString());

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-server

_request.setTimeStamp(System.currentTimeMillis());
_request.setMethod(method.toString());

代码示例来源:origin: org.eclipse.jetty.aggregate/jetty-plus

_request.setTimeStamp(System.currentTimeMillis());
_request.setMethod(method.toString());

代码示例来源:origin: org.eclipse.jetty/server

_request.setTimeStamp(System.currentTimeMillis());
_request.setMethod(method.toString());

相关文章

Request类方法