本文整理了Java中org.apache.catalina.Pipeline.getFirst()
方法的一些代码示例,展示了Pipeline.getFirst()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Pipeline.getFirst()
方法的具体详情如下:
包路径:org.apache.catalina.Pipeline
类名称:Pipeline
方法名:getFirst
[英]Return the Valve instance that has been distinguished as the basic Valve for this Pipeline (if any).
[中]返回已被区分为该管道基本阀的阀实例(如果有)。
代码示例来源:origin: org.jboss.web/jbossweb
/**
* Return the first valve in the pipeline.
*/
public Valve getFirst() {
return (pipeline.getFirst());
}
代码示例来源:origin: tomcat/catalina
/**
* Return the first valve in the pipeline.
*/
public Valve getFirst() {
return (pipeline.getFirst());
}
代码示例来源:origin: jboss.web/jbossweb
/**
* Return the first valve in the pipeline.
*/
public Valve getFirst() {
return (pipeline.getFirst());
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Process the specified Request, to produce the corresponding Response,
* by invoking the first Valve in our pipeline (if any), or the basic
* Valve otherwise.
*
* @param request Request to be processed
* @param response Response to be produced
*
* @exception IllegalStateException if neither a pipeline or a basic
* Valve have been configured for this Container
* @exception IOException if an input/output error occurred while
* processing
* @exception ServletException if a ServletException was thrown
* while processing this request
*/
@Override
public void invoke(Request request, Response response)
throws IOException, ServletException {
pipeline.getFirst().invoke(request, response);
}
代码示例来源:origin: jboss.web/jbossweb
/**
* Process the specified Request, to produce the corresponding Response,
* by invoking the first Valve in our pipeline (if any), or the basic
* Valve otherwise.
*
* @param request Request to be processed
* @param response Response to be produced
*
* @exception IllegalStateException if neither a pipeline or a basic
* Valve have been configured for this Container
* @exception IOException if an input/output error occurred while
* processing
* @exception ServletException if a ServletException was thrown
* while processing this request
*/
public void invoke(Request request, Response response)
throws IOException, ServletException {
pipeline.getFirst().invoke(request, response);
}
代码示例来源:origin: org.jboss.web/jbossweb
/**
* Process the specified Request, to produce the corresponding Response,
* by invoking the first Valve in our pipeline (if any), or the basic
* Valve otherwise.
*
* @param request Request to be processed
* @param response Response to be produced
*
* @exception IllegalStateException if neither a pipeline or a basic
* Valve have been configured for this Container
* @exception IOException if an input/output error occurred while
* processing
* @exception ServletException if a ServletException was thrown
* while processing this request
*/
public void invoke(Request request, Response response)
throws IOException, ServletException {
pipeline.getFirst().invoke(request, response);
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* Process the specified Request, to produce the corresponding Response,
* by invoking the first Valve in our pipeline (if any), or the basic
* Valve otherwise.
*
* @param request Request to be processed
* @param response Response to be produced
*
* @exception IllegalStateException if neither a pipeline or a basic
* Valve have been configured for this Container
* @exception IOException if an input/output error occurred while
* processing
* @exception ServletException if a ServletException was thrown
* while processing this request
*/
@Override
public void invoke(Request request, Response response)
throws IOException, ServletException {
pipeline.getFirst().invoke(request, response);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Process the specified Request, to produce the corresponding Response,
* by invoking the first Valve in our pipeline (if any), or the basic
* Valve otherwise.
*
* @param request Request to be processed
* @param response Response to be produced
*
* @exception IllegalStateException if neither a pipeline or a basic
* Valve have been configured for this Container
* @exception IOException if an input/output error occurred while
* processing
* @exception ServletException if a ServletException was thrown
* while processing this request
*/
@Override
public void invoke(Request request, Response response)
throws IOException, ServletException {
pipeline.getFirst().invoke(request, response);
}
代码示例来源:origin: org.jboss.web/jbossweb
/**
* Process Comet event.
*
* @param request Request to be processed
* @param response Response to be produced
* @param valveContext Valve context used to forward to the next Valve
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
public final void event(Request request, Response response, HttpEvent event)
throws IOException, ServletException {
// Ask this Host to process this request
request.getHost().getPipeline().getFirst().event(request, response, event);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Process Comet event.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event the event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Ask this Host to process this request
request.getHost().getPipeline().getFirst().event(request, response, event);
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* Process Comet event.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event the event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Ask this Host to process this request
request.getHost().getPipeline().getFirst().event(request, response, event);
}
代码示例来源:origin: jboss.web/jbossweb
/**
* Process Comet event.
*
* @param request Request to be processed
* @param response Response to be produced
* @param valveContext Valve context used to forward to the next Valve
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
public final void event(Request request, Response response, HttpEvent event)
throws IOException, ServletException {
// Ask this Host to process this request
request.getHost().getPipeline().getFirst().event(request, response, event);
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
/**
* Process Comet event.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event the event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Ask this Host to process this request
request.getHost().getPipeline().getFirst().event(request, response, event);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
/**
* Process Comet event.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event the event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Ask this Host to process this request
request.getHost().getPipeline().getFirst().event(request, response, event);
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* Process Comet event.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event the event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Ask this Host to process this request
request.getHost().getPipeline().getFirst().event(request, response, event);
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Process Comet event.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event the event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Ask this Host to process this request
request.getHost().getPipeline().getFirst().event(request, response, event);
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Select the appropriate child Wrapper to process this request,
* based on the specified request URI. If no matching Wrapper can
* be found, return an appropriate HTTP error.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Select the Wrapper to be used for this Request
Wrapper wrapper = request.getWrapper();
wrapper.getPipeline().getFirst().event(request, response, event);
}
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* Select the appropriate child Wrapper to process this request,
* based on the specified request URI. If no matching Wrapper can
* be found, return an appropriate HTTP error.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Select the Wrapper to be used for this Request
Wrapper wrapper = request.getWrapper();
wrapper.getPipeline().getFirst().event(request, response, event);
}
}
代码示例来源:origin: org.jboss.web/jbossweb
/**
* Select the appropriate child Wrapper to process this request,
* based on the specified request URI. If no matching Wrapper can
* be found, return an appropriate HTTP error.
*
* @param request Request to be processed
* @param response Response to be produced
* @param valveContext Valve context used to forward to the next Valve
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
public final void event(Request request, Response response, HttpEvent httpEvent)
throws IOException, ServletException {
// Select the Wrapper to be used for this Request
Wrapper wrapper = request.getWrapper();
wrapper.getPipeline().getFirst().event(request, response, httpEvent);
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
/**
* Select the appropriate child Wrapper to process this request,
* based on the specified request URI. If no matching Wrapper can
* be found, return an appropriate HTTP error.
*
* @param request Request to be processed
* @param response Response to be produced
* @param event
*
* @exception IOException if an input/output error occurred
* @exception ServletException if a servlet error occurred
*/
@Override
public final void event(Request request, Response response, CometEvent event)
throws IOException, ServletException {
// Select the Wrapper to be used for this Request
Wrapper wrapper = request.getWrapper();
wrapper.getPipeline().getFirst().event(request, response, event);
}
}
内容来源于网络,如有侵权,请联系作者删除!