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

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

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

Response.recycle介绍

暂无

代码示例

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

public void reset()
{
  _committed.set(false);
  _expect = false;
  _expect100Continue = false;
  _expect102Processing = false;
  _request.recycle();
  _response.recycle();
  _uri.clear();
}

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

public void reset()
{
  _committed.set(false);
  _expect = false;
  _expect100Continue = false;
  _expect102Processing = false;
  _request.recycle();
  _response.recycle();
  _uri.clear();
}

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

public void reset()
{
  _committed.set(false);
  _expect = false;
  _expect100Continue = false;
  _expect102Processing = false;
  _request.recycle();
  _response.recycle();
  _uri.clear();
}

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

public void recycle()
{
  _committed.set(false);
  _request.recycle();
  _response.recycle();
  _committedMetaData=null;
  _requestLog=_connector==null?null:_connector.getServer().getRequestLog();
  _written=0;
}

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

public void recycle()
{
  _committed.set(false);
  _request.recycle();
  _response.recycle();
  _committedMetaData=null;
  _requestLog=_connector==null?null:_connector.getServer().getRequestLog();
  _written=0;
  _trailers=null;
  _oldIdleTimeout=0;
}

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

public void reset()
{
  _parser.reset();
  _parser.returnBuffers(); // TODO maybe only on unhandle
  _requestFields.clear();
  _request.recycle();
  _generator.reset();
  _generator.returnBuffers();// TODO maybe only on unhandle
  _responseFields.clear();
  _response.recycle();
  _uri.clear();
  _writer=null;
  _earlyEOF = false;
}

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

public void reset()
{
  _parser.reset();
  _parser.returnBuffers(); // TODO maybe only on unhandle
  _requestFields.clear();
  _request.recycle();
  _generator.reset();
  _generator.returnBuffers();// TODO maybe only on unhandle
  _responseFields.clear();
  _response.recycle();
  _uri.clear();
  _writer=null;
  _earlyEOF = false;
}

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

public void reset()
{
  _parser.reset();
  _parser.returnBuffers(); // TODO maybe only on unhandle
  _requestFields.clear();
  _request.recycle();
  _generator.reset();
  _generator.returnBuffers();// TODO maybe only on unhandle
  _responseFields.clear();
  _response.recycle();
  _uri.clear();
  _writer=null;
  _earlyEOF = false;
}

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

public void reset()
{
  _parser.reset();
  _parser.returnBuffers(); // TODO maybe only on unhandle
  _requestFields.clear();
  _request.recycle();
  _generator.reset();
  _generator.returnBuffers();// TODO maybe only on unhandle
  _responseFields.clear();
  _response.recycle();
  _uri.clear();
  _writer=null;
  _earlyEOF = false;
}

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

public void reset()
{
  _parser.reset();
  _parser.returnBuffers(); // TODO maybe only on unhandle
  _requestFields.clear();
  _request.recycle();
  _generator.reset();
  _generator.returnBuffers();// TODO maybe only on unhandle
  _responseFields.clear();
  _response.recycle();
  _uri.clear();
  _writer=null;
  _earlyEOF = false;
}

相关文章