Top Description Fields Constructors Methods
org.apache.coyote.ajp

public Class AjpNio2Protocol

extends AbstractAjpProtocol<Nio2Channel>
Class Inheritance
Imports
org.apache.juli.logging.Log, .LogFactory, org.apache.tomcat.util.net.Nio2Channel, .Nio2Endpoint

This the NIO2 based protocol handler implementation for AJP.

Field Summary

Modifier and TypeField and Description
private static final Log
Inherited from org.apache.coyote.ajp.AbstractAjpProtocol:
sm

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Log
getLog()

Implements abstract org.apache.coyote.AbstractProtocol.getLog.

Concrete implementations need to provide access to their logger to be used by the abstract classes.

protected String
getNamePrefix()

Implements abstract org.apache.coyote.AbstractProtocol.getNamePrefix.

Obtain the prefix to be used when construction a name for this protocol handler.

Inherited from org.apache.coyote.ajp.AbstractAjpProtocol:
addSslHostConfigaddSslHostConfigaddUpgradeProtocolcreateProcessorcreateUpgradeProcessorfindSslHostConfigsfindUpgradeProtocolsgetAjpFlushgetAllowedRequestAttributesPatterngetAllowedRequestAttributesPatternInternalgetDesiredBufferSizegetEndpointgetNegotiatedProtocolgetPacketSizegetProtocolNamegetRequiredSecretgetSecretgetSecretRequiredgetTomcatAuthenticationgetTomcatAuthorizationgetUpgradeProtocolsetAjpFlushsetAllowedRequestAttributesPatternsetPacketSizesetRequiredSecretsetSecretsetSecretRequiredsetTomcatAuthenticationsetTomcatAuthorizationstart

Field Detail

logback to summary
private static final Log log

Constructor Detail

AjpNio2Protocolback to summary
public AjpNio2Protocol()

Method Detail

getLogback to summary
protected Log getLog()

Implements abstract org.apache.coyote.AbstractProtocol.getLog.

Doc from org.apache.coyote.AbstractProtocol.getLog.

Concrete implementations need to provide access to their logger to be used by the abstract classes.

Returns:Log

the logger

Annotations
@Override
getNamePrefixback to summary
protected String getNamePrefix()

Implements abstract org.apache.coyote.AbstractProtocol.getNamePrefix.

Doc from org.apache.coyote.AbstractProtocol.getNamePrefix.

Obtain the prefix to be used when construction a name for this protocol handler. The name will be prefix-address-port.

Returns:String

the prefix

Annotations
@Override