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

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

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

Request.setProtocol介绍

暂无

代码示例

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

public void parsedProtocol(Buffer protocol) throws IOException
{
  if (protocol != null && protocol.length()>0)
  {
    _request.setProtocol(protocol.toString());
  }
}

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

_request.setPathInfo(outerRequest.getRequestURI());
_request.setQueryString(outerRequest.getQueryString());
_request.setProtocol(outerRequest.getProtocol());

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

_request.setProtocol(HttpVersions.HTTP_0_9);
_version=HttpVersions.HTTP_0_9_ORDINAL;
_version = HttpVersions.CACHE.getOrdinal(version);
if (_version <= 0) _version = HttpVersions.HTTP_1_0_ORDINAL;
_request.setProtocol(version.toString());

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

_request.setProtocol(HttpVersions.HTTP_0_9);
_version=HttpVersions.HTTP_0_9_ORDINAL;
_version = HttpVersions.CACHE.getOrdinal(version);
if (_version <= 0) _version = HttpVersions.HTTP_1_0_ORDINAL;
_request.setProtocol(version.toString());

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

_request.setProtocol(HttpVersions.HTTP_0_9);
_version=HttpVersions.HTTP_0_9_ORDINAL;
_version = HttpVersions.CACHE.getOrdinal(version);
if (_version <= 0) _version = HttpVersions.HTTP_1_0_ORDINAL;
_request.setProtocol(version.toString());

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

_request.setProtocol(HttpVersions.HTTP_0_9);
_version=HttpVersions.HTTP_0_9_ORDINAL;
_version = HttpVersions.CACHE.getOrdinal(version);
if (_version <= 0) _version = HttpVersions.HTTP_1_0_ORDINAL;
_request.setProtocol(version.toString());

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

_request.setProtocol(HttpVersions.HTTP_0_9);
_version=HttpVersions.HTTP_0_9_ORDINAL;
_version = HttpVersions.CACHE.getOrdinal(version);
if (_version <= 0) _version = HttpVersions.HTTP_1_0_ORDINAL;
_request.setProtocol(version.toString());

相关文章

Request类方法