@Override
+ public void start() throws Exception {
+ if (getLog().isInfoEnabled())
+ getLog().info(sm.getString("abstractProtocolHandler.start",
+ getName()));
+ try {
+ endpoint.start();
+ } catch (Exception ex) {
+ getLog().error(sm.getString("abstractProtocolHandler.startError",
+ getName()), ex);
+ throw ex;
+ }
+ }
+
+
+ @Override
public void pause() throws Exception {
if(getLog().isInfoEnabled())
getLog().info(sm.getString("abstractProtocolHandler.pause",
abstractProtocolHandler.init=Initializing ProtocolHandler [{0}]
abstractProtocolHandler.initError=Failed to initialize end point associated with ProtocolHandler [{0}]
abstractProtocolHandler.mbeanRegistrationFailed=Failed to register MBean [{0}] for ProtocolHandler [{1}]
+abstractProtocolHandler.start=Starting ProtocolHandler [{0}]
+abstractProtocolHandler.startError=Failed to start end point associated with ProtocolHandler [{0}]
abstractProtocolHandler.pause=Pausing ProtocolHandler [{0}]
abstractProtocolHandler.pauseError=Failed to pause end point associated with ProtocolHandler [{0}]
abstractProtocolHandler.resume=Resuming ProtocolHandler [{0}]
// --------------------------------------------------------- Public Methods
- @Override
- public void start() throws Exception {
- try {
- endpoint.start();
- } catch (Exception ex) {
- log.error(sm.getString("ajpprotocol.endpoint.starterror"), ex);
- throw ex;
- }
- if (log.isInfoEnabled())
- log.info(sm.getString("ajpprotocol.start", getName()));
- }
-
-
public boolean getUseSendfile() { return endpoint.getUseSendfile(); }
public void setUseSendfile(@SuppressWarnings("unused") boolean useSendfile) {
/* No sendfile for AJP */
private AjpConnectionHandler cHandler;
- // --------------------------------------------------------- Public Methods
-
-
- @Override
- public void start() throws Exception {
- try {
- endpoint.start();
- } catch (Exception ex) {
- log.error(sm.getString("ajpprotocol.endpoint.starterror"), ex);
- throw ex;
- }
- if (log.isInfoEnabled())
- log.info(sm.getString("ajpprotocol.start", getName()));
- }
-
-
// -------------------------------------- AjpConnectionHandler Inner Class
setProcessorCache(-1);
}
- @Override
- public void start() throws Exception {
- try {
- endpoint.start();
- } catch (Exception ex) {
- log.error(sm.getString("http11protocol.endpoint.starterror"), ex);
- throw ex;
- }
- if(log.isInfoEnabled())
- log.info(sm.getString("http11protocol.start", getName()));
- }
-
private final Http11ConnectionHandler cHandler;
public boolean getUseSendfile() { return ((AprEndpoint)endpoint).getUseSendfile(); }
}
- @Override
- public void start() throws Exception {
- try {
- endpoint.start();
- } catch (Exception ex) {
- log.error(sm.getString("http11protocol.endpoint.starterror"), ex);
- throw ex;
- }
- if(log.isInfoEnabled())
- log.info(sm.getString("http11protocol.start", getName()));
- }
-
-
// -------------------- Properties--------------------
protected Http11ConnectionHandler cHandler;
- // ----------------------------------------- ProtocolHandler Implementation
-
- @Override
- public void start() throws Exception {
- try {
- endpoint.start();
- } catch (Exception ex) {
- log.error(sm.getString("http11protocol.endpoint.starterror"), ex);
- throw ex;
- }
- if (log.isInfoEnabled())
- log.info(sm.getString("http11protocol.start", getName()));
- }
-
-
// ----------------------------------- Http11ConnectionHandler Inner Class
protected static class Http11ConnectionHandler implements Handler {