public class OutputStreamOutTransportAdapter extends BaseTransport implements OutTransport
OutputStream
to be used as an OutTransport
.Constructor and Description |
---|
OutputStreamOutTransportAdapter(OutputStream stream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
getOutgoingStream()
Gets the outgoing data stream to the peer.
|
void |
setAttribute(String name,
Object value)
Set an attribute value.
|
void |
setCharacterEncoding(String encoding)
Set the character encoding.
|
getAttribute, getCharacterEncoding, getLocalCredential, getPeerCredential, isAuthenticated, isConfidential, isIntegrityProtected, setAuthenticated, setConfidential, setIntegrityProtected
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttribute, getCharacterEncoding, getLocalCredential, getPeerCredential, isAuthenticated, isConfidential, isIntegrityProtected, setAuthenticated, setConfidential, setIntegrityProtected
public OutputStreamOutTransportAdapter(OutputStream stream)
stream
- the output stream to adaptpublic OutputStream getOutgoingStream()
getOutgoingStream
in interface OutTransport
public void setAttribute(String name, Object value)
setAttribute
in interface OutTransport
setAttribute
in class BaseTransport
name
- attribute namevalue
- attribute valuepublic void setCharacterEncoding(String encoding)
setCharacterEncoding
in interface OutTransport
setCharacterEncoding
in class BaseTransport
encoding
- the character encodingCopyright © 2018 JBoss by Red Hat. All rights reserved.