Top Description Fields Constructors Methods
io.vertx.core.http.impl

pack-priv Class HttpEventHandler

extends Object
Class Inheritance
Imports
io.vertx.core.Future, .Handler, .Promise, io.vertx.core.buffer.Buffer, io.vertx.core.impl.ContextInternal

All HTTP event related handlers.

Field Summary

Modifier and TypeField and Description
private Buffer
body

References Deprecated Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
private Promise<Buffer>
private Handler<Buffer>
pack-priv final ContextInternal
private Handler<Void>
private Promise<Void>
private Handler<Throwable>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv Future<Buffer>
body()

pack-priv void
pack-priv Future<Void>
end()

pack-priv void
pack-priv void
pack-priv void
handleChunk(Buffer chunk)
References Deprecated Buffer is deprecated or references (maybe indirectly) at least one deprecated element.

pack-priv void
pack-priv void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bodyback to summary
private Buffer body

References Deprecated

Buffer is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

bodyPromiseback to summary
private Promise<Buffer> bodyPromise
chunkHandlerback to summary
private Handler<Buffer> chunkHandler
contextback to summary
pack-priv final ContextInternal context
endHandlerback to summary
private Handler<Void> endHandler
endPromiseback to summary
private Promise<Void> endPromise
exceptionHandlerback to summary
private Handler<Throwable> exceptionHandler

Constructor Detail

HttpEventHandlerback to summary
pack-priv HttpEventHandler(ContextInternal context)

Method Detail

bodyback to summary
pack-priv Future<Buffer> body()
chunkHandlerback to summary
pack-priv void chunkHandler(Handler<Buffer> handler)
endback to summary
pack-priv Future<Void> end()
endHandlerback to summary
pack-priv void endHandler(Handler<Void> handler)
exceptionHandlerback to summary
pack-priv void exceptionHandler(Handler<Throwable> handler)
handleChunkback to summary
pack-priv void handleChunk(Buffer chunk)

References Deprecated

Buffer is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

handleEndback to summary
pack-priv void handleEnd()
handleExceptionback to summary
pack-priv void handleException(Throwable err)