Class ClientParser.EndRequestListener
java.lang.Object
org.eclipse.jetty.fcgi.parser.ClientParser.EndRequestListener
- All Implemented Interfaces:
ClientParser.Listener, Parser.Listener
- Enclosing class:
ClientParser
-
Nested Class Summary
Nested classes/interfaces inherited from interface ClientParser.Listener
ClientParser.Listener.Adapter -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientParser.Listenerprivate final StreamContentParser[] -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateEndRequestListener(ClientParser.Listener listener, StreamContentParser... streamParsers) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanonContent(int request, FCGI.StreamType stream, ByteBuffer buffer) voidonEnd(int request) voidvoidbooleanonHeaders(int request)
-
Field Details
-
listener
-
streamParsers
-
-
Constructor Details
-
EndRequestListener
-
-
Method Details
-
onBegin
- Specified by:
onBeginin interfaceClientParser.Listener
-
onHeader
- Specified by:
onHeaderin interfaceParser.Listener
-
onHeaders
public boolean onHeaders(int request) - Specified by:
onHeadersin interfaceParser.Listener- Parameters:
request- the request id- Returns:
- true to signal to the parser to stop parsing, false to continue parsing
-
onContent
- Specified by:
onContentin interfaceParser.Listener- Parameters:
request- the request idstream- the stream typebuffer- the content bytes- Returns:
- true to signal to the parser to stop parsing, false to continue parsing
- See Also:
-
onEnd
public void onEnd(int request) - Specified by:
onEndin interfaceParser.Listener
-
onFailure
- Specified by:
onFailurein interfaceParser.Listener
-