public interface Response extends Message
| Modifier and Type | Method and Description |
|---|---|
String |
getReasonPhrase() |
int |
getStatusCode() |
void |
setReasonPhrase(String reasonPhrase) |
void |
setStatusCode(int statusCode) |
addFirst, addHeader, addLast, clone, equals, getContent, getContentDisposition, getContentEncoding, getContentLanguage, getContentLength, getExpires, getHeader, getHeaderNames, getHeaders, getRawContent, getSIPVersion, getUnrecognizedHeaders, hashCode, removeContent, removeFirst, removeHeader, removeLast, setContent, setContentDisposition, setContentEncoding, setContentLanguage, setContentLength, setExpires, setHeader, setSIPVersion, toStringstatic final int TRYING
static final int RINGING
static final int CALL_IS_BEING_FORWARDED
static final int QUEUED
static final int SESSION_PROGRESS
static final int OK
static final int ACCEPTED
static final int MULTIPLE_CHOICES
static final int MOVED_PERMANENTLY
static final int MOVED_TEMPORARILY
static final int USE_PROXY
static final int ALTERNATIVE_SERVICE
static final int BAD_REQUEST
static final int UNAUTHORIZED
static final int PAYMENT_REQUIRED
static final int FORBIDDEN
static final int NOT_FOUND
static final int METHOD_NOT_ALLOWED
static final int NOT_ACCEPTABLE
static final int PROXY_AUTHENTICATION_REQUIRED
static final int REQUEST_TIMEOUT
static final int GONE
static final int CONDITIONAL_REQUEST_FAILED
static final int REQUEST_ENTITY_TOO_LARGE
static final int REQUEST_URI_TOO_LONG
static final int UNSUPPORTED_MEDIA_TYPE
static final int UNSUPPORTED_URI_SCHEME
static final int BAD_EXTENSION
static final int EXTENSION_REQUIRED
static final int INTERVAL_TOO_BRIEF
static final int TEMPORARILY_UNAVAILABLE
static final int CALL_OR_TRANSACTION_DOES_NOT_EXIST
static final int LOOP_DETECTED
static final int TOO_MANY_HOPS
static final int ADDRESS_INCOMPLETE
static final int AMBIGUOUS
static final int BUSY_HERE
static final int REQUEST_TERMINATED
static final int NOT_ACCEPTABLE_HERE
static final int BAD_EVENT
static final int REQUEST_PENDING
static final int UNDECIPHERABLE
static final int SERVER_INTERNAL_ERROR
static final int NOT_IMPLEMENTED
static final int BAD_GATEWAY
static final int SERVICE_UNAVAILABLE
static final int SERVER_TIMEOUT
static final int VERSION_NOT_SUPPORTED
static final int MESSAGE_TOO_LARGE
static final int BUSY_EVERYWHERE
static final int DECLINE
static final int DOES_NOT_EXIST_ANYWHERE
static final int SESSION_NOT_ACCEPTABLE
void setStatusCode(int statusCode)
throws ParseException
ParseExceptionint getStatusCode()
void setReasonPhrase(String reasonPhrase) throws ParseException
ParseExceptionString getReasonPhrase()
Copyright © 2016. All rights reserved.