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

x33g5p2x  于2022-01-20 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(169)

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

HttpConnection.onFillable介绍

[英]Parses and handles HTTP messages.

This method is called when this Connection is ready to read bytes from the EndPoint. However, it can also be called if there is unconsumed data in the _requestBuffer, as a result of resuming a suspended request when there is a pipelined request already read into the buffer.

This method fills bytes and parses them until either: EOF is filled; 0 bytes are filled; the HttpChannel finishes handling; or the connection has changed.
[中]解析和处理HTTP消息。
当此连接准备从端点读取字节时,将调用此方法。但是,如果_requestBuffer中存在未使用的数据,则也可以调用该函数,这是在存在已读入缓冲区的流水线请求时恢复挂起的请求的结果。
此方法填充字节并解析它们,直到:EOF被填充;0字节被填充;HttpChannel完成处理;或者连接已更改。

代码示例

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

@Override
public void run()
{
  onFillable();
}

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

@Override
public void run()
{
  onFillable();
}

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

@Override
public void run()
{
  onFillable();
}

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

@Override
public void run()
{
  onFillable();
}

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

@Override
public void run()
{
  onFillable();
}

相关文章

微信公众号

最新文章

更多