public interface Transaction
Modifier and Type | Method and Description |
---|---|
Endpoint |
getLocalEndpoint()
Get the local endpoint that the transaction was created on.
|
Certificate[] |
getPeerCertificates()
Get the peer certificate chain for the peer that the transaction
is connected to.
|
boolean |
isRetransmissionFilterEnabled()
Get the value of the retransmission filter.
|
void |
setRetransmissionFilter(boolean enabled)
Sets the retransmission behaviour of this transaction.
|
void setRetransmissionFilter(boolean enabled)
If not enabled, the behaviour is as follows:
Retransmits for non-INVITE transactions are handled entirely by the transaction, ie. the application will never see retransmissions.
Note that according to RFC3261, the INVITE client transaction terminates when the
first 2xx response is received, so subsequent ResponseEvents with 2xx responses
to this client transaction will have null
client transaction values.
enabled
- set to true
to enable retransmission filter,
false
to disable.boolean isRetransmissionFilterEnabled()
true
if enabled, false
otherwise.Endpoint getLocalEndpoint()
Certificate[] getPeerCertificates() throws IOException, SSLPeerUnverifiedException, UnsupportedOperationException
UnsupportedOperationException
- if this was called on a non-SSL connectionIOException
- if the connection is not connectedSSLPeerUnverifiedException
- if the SSL peer is not verified