Top Description Inners Fields Constructors Methods
org.glassfish.grizzly.http.ajp

public Class AjpMessageFilter

extends BaseFilter
Class Inheritance
Imports
java.io.IOException, java.util.function.Supplier, org.glassfish.grizzly.Buffer, .Connection, .Grizzly, org.glassfish.grizzly.attributes.Attribute, org.glassfish.grizzly.filterchain.BaseFilter, .FilterChainContext, .NextAction

Filter, responsible for parsing Ajp requests and making sure the request packets are complete and properly constructed.
Author
Alexey Stashok

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private final Attribute<AjpMessageFilter.ParsingState>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public NextAction
handleRead(final FilterChainContext ctx)

Overrides org.glassfish.grizzly.filterchain.BaseFilter.handleRead.

Implements org.glassfish.grizzly.filterchain.Filter.handleRead.

Execute a unit of processing work to be performed, when channel will become available for reading.

Inherited from org.glassfish.grizzly.filterchain.BaseFilter:
createContextexceptionOccurredhandleAccepthandleClosehandleConnecthandleEventhandleWriteonAddedonFilterChainChangedonRemovedtoString

Field Detail

parsingStateAttributeback to summary
private final Attribute<AjpMessageFilter.ParsingState> parsingStateAttribute

Constructor Detail

AjpMessageFilterback to summary
public AjpMessageFilter()

Method Detail

handleReadback to summary
public NextAction handleRead(final FilterChainContext ctx) throws IOException

Overrides org.glassfish.grizzly.filterchain.BaseFilter.handleRead.

Implements org.glassfish.grizzly.filterchain.Filter.handleRead.

Doc from org.glassfish.grizzly.filterchain.BaseFilter.handleRead.

Execute a unit of processing work to be performed, when channel will become available for reading. This Filter may either complete the required processing and return false, or delegate remaining processing to the next Filter in a FilterChain containing this Filter by returning true.

Annotations
@Override
org.glassfish.grizzly.http.ajp back to summary

pack-priv final Class AjpMessageFilter.ParsingState

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv boolean
pack-priv int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

isHeaderParsedback to summary
pack-priv boolean isHeaderParsed
lengthback to summary
pack-priv int length

Constructor Detail

ParsingStateback to summary
pack-priv ParsingState()

Method Detail

parsedback to summary
pack-priv void parsed()
resetback to summary
pack-priv void reset()