public interface SipResponse extends SipMessage
Modifier and Type | Method and Description |
---|---|
SipResponse |
clone()
Perform a deep clone of this SipMessage.
|
int |
getStatus()
Get the status code of this SIP response
|
boolean |
is100Trying()
Convenience method for checking whether this is a 100 Trying response or
not.
|
boolean |
isClientError()
Convenience method for checking whether this is a 4xx response or not.
|
boolean |
isFinal()
Convenience method for checking whether this response is a final response, i.e.
|
boolean |
isGlobalError()
Convenience method for checking whether this is a 6xx response or not.
|
boolean |
isProvisional()
Convenience method for checking whether this is a 1xx response or not.
|
boolean |
isRedirect()
Convenience method for checking whether this is a 3xx response or not.
|
boolean |
isRinging()
Convenience method for checking whether this is a 180 Ringing response or
or a 183 Early Media response.
|
boolean |
isServerError()
Convenience method for checking whether this is a 5xx response or not.
|
boolean |
isSuccess()
Convenience method for checking whether this is a 2xx response or not.
|
boolean |
isTimeout()
Convenience method for checking whether this is a 480 Timeout response or
not.
|
ViaHeader |
popViaHeader()
Pop the top-most
ViaHeader . |
addHeader, addHeaderFirst, createResponse, frame, frame, getCallIDHeader, getContactHeader, getContent, getContentTypeHeader, getCSeqHeader, getExpiresHeader, getFromHeader, getHeader, getHeader, getInitialLine, getMaxForwards, getMethod, getRawContent, getRecordRouteHeader, getRecordRouteHeaders, getRouteHeader, getRouteHeaders, getToHeader, getViaHeader, getViaHeaders, hasContent, isAck, isBye, isCancel, isInfo, isInitial, isInvite, isMessage, isOptions, isRegister, isRequest, isResponse, popHeader, setHeader, toBuffer, toRequest, toResponse, verify
int getStatus()
boolean isProvisional()
boolean isFinal()
boolean isSuccess()
boolean isRedirect()
boolean isClientError()
boolean isServerError()
boolean isGlobalError()
boolean is100Trying()
boolean isRinging()
boolean isTimeout()
ViaHeader popViaHeader() throws SipParseException
ViaHeader
.
This is a convenience method for calling SipMessage.popHeader(Buffer)
.ViaHeader
or null if this SipResponse
contained no
ViaHeader
s.SipParseException
SipResponse clone()
SipMessage
clone
in interface SipMessage
Copyright © 2014. All Rights Reserved.