public abstract class BaseTransport extends Object implements Transport
Transport that provides local storage for all transport properties.| コンストラクタと説明 | 
|---|
| BaseTransport()Constructor. | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| Object | getAttribute(String name)Gets a transport-specific attribute. | 
| String | getCharacterEncoding()Gets the character encoding of the transport. | 
| Credential | getLocalCredential()Gets the local credential used to authenticate to the peer. | 
| Credential | getPeerCredential()Gets the credential offered by the peer to authenticate itself. | 
| boolean | isAuthenticated()Gets whether the peer is authenticated. | 
| boolean | isConfidential()Gets whether the transport represents a confidential connection (e.g. an SSL connection). | 
| boolean | isIntegrityProtected()Gets whether the transport represents a connection that protects the integrity of transported content. | 
| protected void | setAttribute(String name,
            Object value)Set an attribute value. | 
| void | setAuthenticated(boolean isAuthenticated)Sets whether the peer is authenticated. | 
| protected void | setCharacterEncoding(String encoding)Set the character encoding. | 
| void | setConfidential(boolean isConfidential)Sets whether the transport represents a confidential connection. | 
| void | setIntegrityProtected(boolean isIntegrityProtected)Sets whether the transport represents a connection that protects the integrity of transported content. | 
public Object getAttribute(String name)
getAttribute インタフェース内 Transportname - name of the attributepublic String getCharacterEncoding()
getCharacterEncoding インタフェース内 Transportpublic Credential getLocalCredential()
getLocalCredential インタフェース内 Transportpublic Credential getPeerCredential()
getPeerCredential インタフェース内 Transportpublic boolean isAuthenticated()
isAuthenticated インタフェース内 Transportpublic boolean isConfidential()
isConfidential インタフェース内 Transportpublic boolean isIntegrityProtected()
isIntegrityProtected インタフェース内 Transportpublic void setAuthenticated(boolean isAuthenticated)
setAuthenticated インタフェース内 TransportisAuthenticated - whether the peer is authenticatedpublic void setConfidential(boolean isConfidential)
setConfidential インタフェース内 TransportisConfidential - whether the transport represents a confidential connectionpublic void setIntegrityProtected(boolean isIntegrityProtected)
setIntegrityProtected インタフェース内 TransportisIntegrityProtected - whether the transport represents a connection that protects the integrity of
            transported contentprotected void setAttribute(String name, Object value)
name - attribute namevalue - attribute valueprotected void setCharacterEncoding(String encoding)
encoding - the character encodingCopyright © 2012. All Rights Reserved.