tclisten.autoconfigure.AjpProtocol Maven / Gradle / Ivy
/*
*
* Copyright (c) 2016 CWIE, LLC
*
* This source is subject to the [] License. Please see License.txt file
* for more information. All other rights reserved.
*
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF
* ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
* PARTICULAR PURPOSE.
*
* John Anderson
* [email protected]
* Aug 4, 2016
*
*/
package tclisten.autoconfigure;
/**
* @author John Anderson
*
*/
public enum AjpProtocol {
DEFAULT("AJP/1.3"),
BIO("AjpProtocol"),
NIO("AjpNioProtocol"),
NIO2("AjpNio2Protocol"),
APR("AjpAprProtocol");
private final String protocol;
private AjpProtocol(final String protocol){
this.protocol = protocol;
}
/* (non-Javadoc)
* @see java.lang.Enum#toString()
*/
@Override
public String toString() {
if(this == AjpProtocol.DEFAULT)
return this.protocol;
return "org.apache.coyote.ajp." + this.protocol;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy