热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

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

本文整理了Java中org.eclipse.jetty.server.HttpChannel.continue100()方法的一些代码示例,展示了HttpC

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

HttpChannel.continue100介绍

[英]If the associated response has the Expect header set to 100 Continue, then accessing the input stream indicates that the handler/servlet is ready for the request body and thus a 100 Continue response is sent.
[中]如果关联的响应将Expect头设置为100 Continue,那么访问输入流表明处理程序/servlet已准备好用于请求主体,因此发送100 Continue响应。

代码示例

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

@Override
public ServletInputStream getInputStream() throws IOException
{
if (_inputState != __NONE && _inputState != _STREAM)
throw new IllegalStateException("READER");
_inputState = _STREAM;
if (_channel.isExpecting100Continue())
_channel.continue100(_input.available());
return _input;
}

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

@Override
public ServletInputStream getInputStream() throws IOException
{
if (_inputState != __NONE && _inputState != _STREAM)
throw new IllegalStateException("READER");
_inputState = _STREAM;
if (_channel.isExpecting100Continue())
_channel.continue100(_input.available());
return _input;
}

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

@Override
public ServletInputStream getInputStream() throws IOException
{
if (_inputState != __NONE && _inputState != _STREAM)
throw new IllegalStateException("READER");
_inputState = _STREAM;
if (_channel.isExpecting100Continue())
_channel.continue100(_input.available());
return _input;
}

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

@Override
public ServletInputStream getInputStream() throws IOException
{
if (_inputState != __NONE && _inputState != _STREAM)
throw new IllegalStateException("READER");
_inputState = _STREAM;
if (_channel.isExpecting100Continue())
_channel.continue100(_input.available());
return _input;
}

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

@Override
public ServletInputStream getInputStream() throws IOException
{
if (_inputState != __NONE && _inputState != _STREAM)
throw new IllegalStateException("READER");
_inputState = _STREAM;
if (_channel.isExpecting100Continue())
_channel.continue100(_input.available());
return _input;
}

推荐阅读
author-avatar
端庄的一白_167
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有