-
- All Implemented Interfaces:
-
net.pwall.pipeline.BaseCoAcceptor,net.pwall.pipeline.BaseCoPipeline,net.pwall.pipeline.IntCoAcceptor,net.pwall.pipeline.IntCoPipeline
public final class SwitchableDecoder<R extends Object> extends AbstractIntCoPipeline<R>
-
-
Field Summary
Fields Modifier and Type Field Description private final IntCoAcceptor<R>downstreamprivate final Booleanclosedprivate final Booleancompleteprivate final Rresultprivate final BooleanstageComplete
-
Constructor Summary
Constructors Constructor Description SwitchableDecoder(IntCoAcceptor<R> downstream)
-
Method Summary
Modifier and Type Method Description UnitacceptInt(Integer value)Accept an int, afterclosedcheck and test for end of data.final UnitswitchTo(IntCoAcceptor<R> delegate)final UnitswitchTo(String charsetName)final UnitswitchTo(Charset charset)-
Methods inherited from class net.pwall.pipeline.AbstractIntCoPipeline
close, emit, flush, getDownstream -
Methods inherited from class net.pwall.pipeline.BaseAbstractCoAcceptor
getClosed -
Methods inherited from class net.pwall.pipeline.BaseCoAcceptor
getComplete, getResult -
Methods inherited from class net.pwall.pipeline.BaseCoPipeline
getStageComplete -
Methods inherited from class net.pwall.pipeline.AbstractIntCoAcceptor
accept -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SwitchableDecoder
SwitchableDecoder(IntCoAcceptor<R> downstream)
-
-
-
-