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

x33g5p2x  于2022-01-29 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(133)

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

Server.setDumpAfterStart介绍

暂无

代码示例

代码示例来源:origin: com.azaptree/azaptree-http-service

private void configureServer(final HttpServiceConfig config) {
  server.addConnector(createSelectChannelConnector(config));
  server.setThreadPool(new ExecutorThreadPoolWithGracefulShutdown(config.getRequestExcecutor(), config.getGracefulShutdownTimeoutSecs()));
  if (config.getGracefulShutdownTimeoutSecs() > 0) {
    server.setGracefulShutdown(1);
  }
  final HandlerList handlerList = new HandlerList();
  handlerList.setHandlers(new Handler[] { config.getHttpRequestHandler(), new DefaultHandler() });
  server.setHandler(handlerList);
  server.setDumpAfterStart(true);
  server.setDumpBeforeStop(true);
}

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

http2Connector.setHost( listenAddress );
server.addConnector(http2Connector);
server.setDumpAfterStart( Boolean.getBoolean( "dumpAfterStart" ) );

代码示例来源:origin: io.gravitee.standalone/gravitee-standalone-container

server.setDumpAfterStart(false);
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);

代码示例来源:origin: com.jfinal/jetty-server

server.setDumpAfterStart(false);
server.setDumpBeforeStop(false);

代码示例来源:origin: enioka/jqm

server.setDumpAfterStart(false);
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);

代码示例来源:origin: org.jboss.arquillian.container/arquillian-jetty-embedded-9

server.setDumpAfterStart(containerConfig.isDumpServerAfterStart());
log.info("Starting Jetty Embedded Server " + Server.getVersion() + " [id:" + server.hashCode() + "]");
server.start();

代码示例来源:origin: nutzam/nutz-web

server.setDumpAfterStart(false);
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);

代码示例来源:origin: nutzam/nutzboot

server.setDumpAfterStart(false);
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);

代码示例来源:origin: gravitee-io/gravitee-management-rest-api

server.setDumpAfterStart(false);
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);

代码示例来源:origin: io.gravitee.am.gateway/gravitee-am-gateway-jetty

server.setDumpAfterStart(false);
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);

代码示例来源:origin: io.gravitee.am.management/gravitee-am-management-api-jetty

server.setDumpAfterStart(false);
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);

代码示例来源:origin: gravitee-io/graviteeio-access-management

server.setDumpAfterStart(false);
server.setDumpBeforeStop(false);
server.setStopAtShutdown(true);

相关文章