本文整理了Java中org.glassfish.grizzly.servlet.WebappContext.setServerInfo()
方法的一些代码示例,展示了WebappContext.setServerInfo()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebappContext.setServerInfo()
方法的具体详情如下:
包路径:org.glassfish.grizzly.servlet.WebappContext
类名称:WebappContext
方法名:setServerInfo
[英]Set the value of the Server
header to be sent in the response. If the value is a zero-length String or null, no Server
header will be sent.
[中]设置要在响应中发送的Server
头的值。如果该值为零长度字符串或null,则不会发送Server
头。
代码示例来源:origin: javaee/grizzly
setServerInfo(serverName);
sessionTimeoutInSeconds = targetServer.getServerConfiguration().getSessionTimeoutSeconds();
initializeListeners();
代码示例来源:origin: javaee/grizzly
setServerInfo(serverName);
sessionTimeoutInSeconds = targetServer.getServerConfiguration().getSessionTimeoutSeconds();
initializeListeners();
代码示例来源:origin: javaee/grizzly
setServerInfo(serverName);
sessionTimeoutInSeconds = targetServer.getServerConfiguration().getSessionTimeoutSeconds();
initializeListeners();
代码示例来源:origin: javaee/grizzly
setServerInfo(serverName);
sessionTimeoutInSeconds = targetServer.getServerConfiguration().getSessionTimeoutSeconds();
initializeListeners();
代码示例来源:origin: org.glassfish.grizzly/grizzly-websockets-server
setServerInfo(serverName);
sessionTimeoutInSeconds = targetServer.getServerConfiguration().getSessionTimeoutSeconds();
initializeListeners();
代码示例来源:origin: javaee/grizzly
setServerInfo(serverName);
sessionTimeoutInSeconds = targetServer.getServerConfiguration().getSessionTimeoutSeconds();
initializeListeners();
内容来源于网络,如有侵权,请联系作者删除!