本文整理了Java中org.restlet.routing.VirtualHost.getRoutes()
方法的一些代码示例,展示了VirtualHost.getRoutes()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。VirtualHost.getRoutes()
方法的具体详情如下:
包路径:org.restlet.routing.VirtualHost
类名称:VirtualHost
方法名:getRoutes
暂无
代码示例来源:origin: org.restlet.osgi/org.restlet
/**
* Stop all applications attached to a virtual host
*
* @param host
* @throws Exception
*/
private void stopHostApplications(VirtualHost host) throws Exception {
for (Route route : host.getRoutes()) {
if (route.getNext().isStarted()) {
route.getNext().stop();
}
}
}
代码示例来源:origin: org.restlet.osgi/org.restlet.ext.platform
Endpoint result = null;
for (Route route : virtualHost.getRoutes()) {
if (route.getNext() != null) {
Application app = getNextApplication(route.getNext());
代码示例来源:origin: org.restlet.jse/org.restlet.ext.platform
Endpoint result = null;
for (Route route : virtualHost.getRoutes()) {
if (route.getNext() != null) {
Application app = getNextApplication(route.getNext());
代码示例来源:origin: org.restlet.gae/org.restlet.ext.platform
Endpoint result = null;
for (Route route : virtualHost.getRoutes()) {
if (route.getNext() != null) {
Application app = getNextApplication(route.getNext());
代码示例来源:origin: org.restlet.jee/org.restlet.ext.apispark
Endpoint result = null;
for (Route route : virtualHost.getRoutes()) {
if (route.getNext() != null) {
Application app = getNextApplication(route.getNext());
代码示例来源:origin: org.restlet.jee/org.restlet.ext.platform
Endpoint result = null;
for (Route route : virtualHost.getRoutes()) {
if (route.getNext() != null) {
Application app = getNextApplication(route.getNext());
代码示例来源:origin: org.restlet.osgi/org.restlet
for (Route route : host.getRoutes()) {
Restlet next = route.getNext();
代码示例来源:origin: org.restlet/org.restlet.ext.servlet
boolean addFullServletPath = false;
if (component.getDefaultHost().getRoutes().isEmpty()) {
} else {
for (final Route route : component.getDefaultHost()
.getRoutes()) {
if (route.getTemplate().getPattern() == null) {
addFullServletPath = true;
for (final VirtualHost virtualHost : component
.getHosts()) {
if (virtualHost.getRoutes().isEmpty()) {
} else {
for (final Route route : virtualHost
.getRoutes()) {
if (route.getTemplate().getPattern() == null) {
addFullServletPath = true;
.getRoutes()) {
log("[Restlet] Attaching restlet: "
+ route.getNext() + " to URI: "
for (final Route route : virtualHost.getRoutes()) {
log("[Restlet] Attaching restlet: "
+ route.getNext() + " to URI: "
内容来源于网络,如有侵权,请联系作者删除!