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

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

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

Request.setDispatcherType介绍

暂无

代码示例

代码示例来源:origin: line/armeria

private static void fillRequest(
    ServiceRequestContext ctx, AggregatedHttpMessage aReq, Request jReq) {
  jReq.setDispatcherType(DispatcherType.REQUEST);
  jReq.setAsyncSupported(false, "armeria");
  jReq.setSecure(ctx.sessionProtocol().isTls());
  jReq.setMetaData(toRequestMetadata(ctx, aReq));
  final HttpData content = aReq.content();
  if (!content.isEmpty()) {
    jReq.getHttpInput().addContent(new Content(ByteBuffer.wrap(
        content.array(), content.offset(), content.length())));
  }
  jReq.getHttpInput().eof();
}

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

_request.setDispatcherType(DispatcherType.REQUEST);
_request.setScheme(outerRequest.getScheme());
_request.setMethod(outerRequest.getMethod());

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

try
  baseRequest.setDispatcherType(DispatcherType.INCLUDE);
  baseRequest.getConnection().include();
  if (_named!=null)
  baseRequest.getConnection().included();
  baseRequest.setParameters(old_params);
  baseRequest.setDispatcherType(old_type);

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

try
  baseRequest.setDispatcherType(DispatcherType.INCLUDE);
  baseRequest.getConnection().include();
  if (_named!=null)
  baseRequest.getConnection().included();
  baseRequest.setParameters(old_params);
  baseRequest.setDispatcherType(old_type);

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

try
  baseRequest.setDispatcherType(DispatcherType.INCLUDE);
  baseRequest.getConnection().include();
  if (_named!=null)
  baseRequest.getConnection().included();
  baseRequest.setParameters(old_params);
  baseRequest.setDispatcherType(old_type);

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

try
  baseRequest.setDispatcherType(DispatcherType.INCLUDE);
  baseRequest.getConnection().include();
  if (_named!=null)
  baseRequest.getConnection().included();
  baseRequest.setParameters(old_params);
  baseRequest.setDispatcherType(old_type);

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

try
  baseRequest.setDispatcherType(DispatcherType.INCLUDE);
  baseRequest.getConnection().include();
  if (_named!=null)
  baseRequest.getConnection().included();
  baseRequest.setParameters(old_params);
  baseRequest.setDispatcherType(old_type);

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

try
  baseRequest.setDispatcherType(DispatcherType.INCLUDE);
  baseRequest.getResponse().include();
  if (_named!=null)
  baseRequest.setQueryParameters(old_query_params);
  baseRequest.resetParameters();
  baseRequest.setDispatcherType(old_type);

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

try
  baseRequest.setDispatcherType(DispatcherType.INCLUDE);
  baseRequest.getResponse().include();
  if (_named!=null)
  baseRequest.setQueryParameters(old_query_params);
  baseRequest.resetParameters();
  baseRequest.setDispatcherType(old_type);

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

try
  baseRequest.setDispatcherType(DispatcherType.INCLUDE);
  baseRequest.getResponse().include();
  if (_named!=null)
  baseRequest.setQueryParameters(old_query_params);
  baseRequest.resetParameters();
  baseRequest.setDispatcherType(old_type);

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

try
  baseRequest.setDispatcherType(DispatcherType.INCLUDE);
  baseRequest.getResponse().include();
  if (_named!=null)
  baseRequest.getResponse().included();
  baseRequest.setParameters(old_params);
  baseRequest.setDispatcherType(old_type);

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

baseRequest.setDispatcherType(dtype);
restart=true;
  baseRequest.setDispatcherType(ctype);
  baseRequest.setAttribute(AsyncContext.ASYNC_CONTEXT_PATH,async_context_path);
  baseRequest.setAttribute(AsyncContext.ASYNC_PATH_INFO,async_path_info);

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

try
  baseRequest.setDispatcherType(DispatcherType.INCLUDE);
  baseRequest.getResponse().include();
  if (_named!=null)
  baseRequest.getResponse().included();
  baseRequest.setParameters(old_params);
  baseRequest.setDispatcherType(old_type);

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

baseRequest.setDispatcherType(dtype);
restart=true;
  baseRequest.setDispatcherType(ctype);
  baseRequest.setAttribute(AsyncContext.ASYNC_CONTEXT_PATH,async_context_path);
  baseRequest.setAttribute(AsyncContext.ASYNC_PATH_INFO,async_path_info);

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

baseRequest.setDispatcherType(dtype);
restart=true;
  baseRequest.setDispatcherType(ctype);
  baseRequest.setAttribute(AsyncContext.ASYNC_CONTEXT_PATH,async_context_path);
  baseRequest.setAttribute(AsyncContext.ASYNC_PATH_INFO,async_path_info);

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

baseRequest.setDispatcherType(dispatch);
baseRequest.setParameters(old_params);
baseRequest.setQueryString(old_query);
baseRequest.setDispatcherType(old_type);

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

baseRequest.setDispatcherType(dispatch);
baseRequest.setParameters(old_params);
baseRequest.setQueryString(old_query);
baseRequest.setDispatcherType(old_type);

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

baseRequest.setDispatcherType(dispatch);
baseRequest.setParameters(old_params);
baseRequest.setQueryString(old_query);
baseRequest.setDispatcherType(old_type);

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

baseRequest.setDispatcherType(dispatch);
baseRequest.setParameters(old_params);
baseRequest.setQueryString(old_query);
baseRequest.setDispatcherType(old_type);

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

baseRequest.setDispatcherType(dispatch);
baseRequest.setParameters(old_params);
baseRequest.setQueryString(old_query);
baseRequest.setDispatcherType(old_type);

相关文章

Request类方法