public class OutputStreamOutTransportAdapter extends BaseTransport implements OutTransport
OutputStream
to be used as an OutTransport
.コンストラクタと説明 |
---|
OutputStreamOutTransportAdapter(OutputStream stream)
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
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
インタフェース内 OutTransport
public void setAttribute(String name, Object value)
setAttribute
インタフェース内 OutTransport
setAttribute
クラス内 BaseTransport
name
- attribute namevalue
- attribute valuepublic void setCharacterEncoding(String encoding)
setCharacterEncoding
インタフェース内 OutTransport
setCharacterEncoding
クラス内 BaseTransport
encoding
- the character encodingCopyright © 2012. All Rights Reserved.