本文整理了Java中org.apache.catalina.Pipeline.setBasic()
方法的一些代码示例,展示了Pipeline.setBasic()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Pipeline.setBasic()
方法的具体详情如下:
包路径:org.apache.catalina.Pipeline
类名称:Pipeline
方法名:setBasic
[英]Set the Valve instance that has been distinguished as the basic Valve for this Pipeline (if any). Prior to setting the basic Valve, the Valve's setContainer()
will be called, if it implements Contained
, with the owning Container as an argument. The method may throw an IllegalArgumentException
if this Valve chooses not to be associated with this Container, or IllegalStateException
if it is already associated with a different Container.
[中]设置已被区分为该管道基本阀门的阀门实例(如果有)。在设置基本阀门之前,如果阀门实现了Contained
,则会调用阀门的setContainer()
,并将拥有的容器作为参数。如果此阀门选择不与此容器关联,则该方法可能抛出IllegalArgumentException
,如果它已与其他容器关联,则可能抛出IllegalStateException
。
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
/**
* Create a new StandardHost component with the default basic Valve.
*/
public StandardHost() {
super();
pipeline.setBasic(new StandardHostValve());
}
代码示例来源:origin: tomcat/catalina
/**
* Create a new StandardHost component with the default basic Valve.
*/
public StandardHost() {
super();
pipeline.setBasic(new StandardHostValve());
}
代码示例来源:origin: org.glassfish.main.web/web-core
/**
* Create a new StandardHost component with the default basic Valve.
*/
public StandardHost() {
pipeline.setBasic(new StandardHostValve());
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Create a new StandardHost component with the default basic Valve.
*/
public StandardHost() {
super();
pipeline.setBasic(new StandardHostValve());
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
/**
* Create a new StandardHost component with the default basic Valve.
*/
public StandardHost() {
super();
pipeline.setBasic(new StandardHostValve());
}
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
/**
* Create a new StandardHost component with the default basic Valve.
*/
public StandardHost() {
super();
pipeline.setBasic(new StandardHostValve());
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* Create a new StandardHost component with the default basic Valve.
*/
public StandardHost() {
super();
pipeline.setBasic(new StandardHostValve());
}
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
/**
* Create a new StandardWrapper component with the default basic Valve.
*/
public StandardWrapper() {
super();
swValve=new StandardWrapperValve();
pipeline.setBasic(swValve);
broadcaster = new NotificationBroadcasterSupport();
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Create a new StandardWrapper component with the default basic Valve.
*/
public StandardWrapper() {
super();
swValve=new StandardWrapperValve();
pipeline.setBasic(swValve);
broadcaster = new NotificationBroadcasterSupport();
}
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
/**
* Create a new StandardWrapper component with the default basic Valve.
*/
public StandardWrapper() {
super();
swValve=new StandardWrapperValve();
pipeline.setBasic(swValve);
broadcaster = new NotificationBroadcasterSupport();
}
代码示例来源:origin: tomcat/catalina
/**
* Create a new StandardContext component with the default basic Valve.
*/
public StandardContext() {
super();
pipeline.setBasic(new StandardContextValve());
broadcaster = new NotificationBroadcasterSupport();
}
代码示例来源:origin: jboss.web/jbossweb
/**
* Create a new StandardContext component with the default basic Valve.
*/
public StandardContext() {
super();
pipeline.setBasic(new StandardContextValve());
broadcaster = new NotificationBroadcasterSupport();
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Create a new StandardWrapper component with the default basic Valve.
*/
public StandardWrapper() {
super();
swValve=new StandardWrapperValve();
pipeline.setBasic(swValve);
broadcaster = new NotificationBroadcasterSupport();
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* Create a new StandardWrapper component with the default basic Valve.
*/
public StandardWrapper() {
super();
swValve=new StandardWrapperValve();
pipeline.setBasic(swValve);
broadcaster = new NotificationBroadcasterSupport();
}
代码示例来源:origin: jboss.web/jbossweb
/**
* Create a new StandardWrapper component with the default basic Valve.
*/
public StandardWrapper() {
super();
swValve=new StandardWrapperValve();
pipeline.setBasic(swValve);
broadcaster = new NotificationBroadcasterSupport();
}
代码示例来源:origin: org.glassfish.main.web/web-core
public void setPipeline(Pipeline pl) {
StandardHostValve shValve = new StandardHostValve();
configureStandardHostValve(shValve);
pl.setBasic(shValve);
pipeline = pl;
hasCustomPipeline = true;
}
// END SJSAS 6331392
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
/**
* Create a new StandardWrapper component with the default basic Valve.
*/
public StandardWrapper() {
super();
swValve=new StandardWrapperValve();
pipeline.setBasic(swValve);
broadcaster = new NotificationBroadcasterSupport();
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* Create a new StandardWrapper component with the default basic Valve.
*/
public StandardWrapper() {
super();
swValve=new StandardWrapperValve();
pipeline.setBasic(swValve);
broadcaster = new NotificationBroadcasterSupport();
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
/**
* Create a new StandardWrapper component with the default basic Valve.
*/
public StandardWrapper() {
super();
swValve=new StandardWrapperValve();
pipeline.setBasic(swValve);
broadcaster = new NotificationBroadcasterSupport();
}
代码示例来源:origin: org.glassfish.main.web/web-core
/**
* Create a new StandardContext component with the default basic Valve.
*/
public StandardContext() {
pipeline.setBasic(new StandardContextValve());
namingResources.setContainer(this);
if (Globals.IS_SECURITY_ENABLED) {
mySecurityManager = AccessController.doPrivileged(
new PrivilegedCreateSecurityManager());
}
}
内容来源于网络,如有侵权,请联系作者删除!