本文整理了Java中org.eclipse.jetty.webapp.WebAppContext.toString()
方法的一些代码示例,展示了WebAppContext.toString()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebAppContext.toString()
方法的具体详情如下:
包路径:org.eclipse.jetty.webapp.WebAppContext
类名称:WebAppContext
方法名:toString
暂无
代码示例来源:origin: igniterealtime/Openfire-Meetings
Log.debug( "Initialized public web application", publicWebApp.toString() );
代码示例来源:origin: com.carecon.fabric3/fabric3-container-web-jetty
private void remove(WebAppContext context) {
String displayName = context.getDisplayName();
if (displayName == null) {
displayName = context.toString();
}
String webAppName = encodeName(displayName);
managementService.remove(webAppName, "webapps/" + webAppName);
ServletHandler handler = context.getServletHandler();
for (ServletHolder servletHolder : handler.getServlets()) {
final String group = "webapps/" + webAppName + "/servlets";
managementService.remove(webAppName + "/" + servletHolder.getName(), group);
}
}
代码示例来源:origin: org.fabric3/fabric3-container-web-jetty
private void remove(WebAppContext context) {
String displayName = context.getDisplayName();
if (displayName == null) {
displayName = context.toString();
}
String webAppName = encodeName(displayName);
managementService.remove(webAppName, "webapps/" + webAppName);
ServletHandler handler = context.getServletHandler();
for (ServletHolder servletHolder : handler.getServlets()) {
final String group = "webapps/" + webAppName + "/servlets";
managementService.remove(webAppName + "/" + servletHolder.getName(), group);
}
}
内容来源于网络,如有侵权,请联系作者删除!