|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.engine.io.WrapperChannel<T>
org.restlet.engine.io.WrapperSelectionChannel<T>
org.restlet.engine.io.TraceChannel<T>
public class TraceChannel<T extends SelectionChannel>
Filter byte channel that sends a copy of all data on the trace output stream.
It is important to inherit from SelectableChannel
as some framework
classes rely on this down the processing chain.
Constructor Summary | |
---|---|
TraceChannel(T wrappedChannel)
Constructor. |
|
TraceChannel(T wrappedChannel,
java.io.OutputStream traceStream)
Constructor. |
Method Summary | |
---|---|
java.io.OutputStream |
getTraceStream()
Returns the trace output stream to use if tracing is enabled. |
Methods inherited from class org.restlet.engine.io.WrapperSelectionChannel |
---|
getRegistration, isBlocking, setRegistration, toString |
Methods inherited from class org.restlet.engine.io.WrapperChannel |
---|
close, getWrappedChannel, isOpen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.nio.channels.Channel |
---|
close, isOpen |
Constructor Detail |
---|
public TraceChannel(T wrappedChannel)
wrappedChannel
- The wrapped channel.public TraceChannel(T wrappedChannel, java.io.OutputStream traceStream)
wrappedChannel
- The wrapped channel.traceStream
- The trace stream.Method Detail |
---|
public java.io.OutputStream getTraceStream()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |