Top Fields Constructors Methods
io.undertow.server.protocol.http

public Class ServerFixedLengthStreamSinkConduit

extends AbstractFixedLengthStreamSinkConduit
Class Inheritance
Imports
io.undertow.conduits.AbstractFixedLengthStreamSinkConduit, io.undertow.server.Connectors, .HttpServerExchange, org.xnio.conduits.StreamSinkConduit

Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private HttpServerExchange

Constructor Summary

AccessConstructor and Description
public
ServerFixedLengthStreamSinkConduit(StreamSinkConduit
the next channel
next
,
boolean
true if this instance should pass configuration to the next
configurable
,
boolean
true if this instance should pass close to the next
propagateClose
)

Construct a new instance.

Method Summary

Modifier and TypeMethod and Description
protected void
pack-priv void
pack-priv void
reset(long contentLength, HttpServerExchange exchange)

Inherited from io.undertow.conduits.AbstractFixedLengthStreamSinkConduit:
awaitWritableawaitWritableflushgetRemainingisWriteResumedresetterminateWritestransferFromtransferFromtruncateWriteswakeupWriteswritewritewriteFinalwriteFinal

Field Detail

exchangeback to summary
private HttpServerExchange exchange

Constructor Detail

ServerFixedLengthStreamSinkConduitback to summary
public ServerFixedLengthStreamSinkConduit(StreamSinkConduit next, boolean configurable, boolean propagateClose)

Construct a new instance.

Parameters
next:StreamSinkConduit

the next channel

configurable:boolean

true if this instance should pass configuration to the next

propagateClose:boolean

true if this instance should pass close to the next

Method Detail

channelFinishedback to summary
protected void channelFinished()

Overrides io.undertow.conduits.AbstractFixedLengthStreamSinkConduit.channelFinished.

Annotations
@Override
clearExchangeback to summary
pack-priv void clearExchange()
resetback to summary
pack-priv void reset(long contentLength, HttpServerExchange exchange)