public interface Transport
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
isIntegrityProtected()
Gets whether the transport represents a connection that protects the integrity of transported content.
|
void |
setAuthenticated(boolean isAuthenticated)
Sets whether the peer is authenticated.
|
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.
|
Object getAttribute(String name)
name
- name of the attributeString getCharacterEncoding()
Credential getLocalCredential()
Credential getPeerCredential()
boolean isAuthenticated()
void setAuthenticated(boolean isAuthenticated)
isAuthenticated
- whether the peer is authenticatedboolean isConfidential()
void setConfidential(boolean isConfidential)
isConfidential
- whether the transport represents a confidential connectionboolean isIntegrityProtected()
void setIntegrityProtected(boolean isIntegrityProtected)
isIntegrityProtected
- whether the transport represents a connection that protects the integrity of
transported contentCopyright © 2018 JBoss by Red Hat. All rights reserved.