public abstract class SipServletResponseImpl extends SipServletMessageImpl implements MobicentsSipServletResponse
SipServletMessage.HeaderFormattributes, currentApplicationName, dialog, headerForm, isMessageSent, message, method, REL100_OPTION_TAG, sessionKey, sipFactoryImpl, sipSession, transactionApplicationData, transport, userPrincipalSC_ACCEPTED, SC_ADDRESS_INCOMPLETE, SC_ALTERNATIVE_SERVICE, SC_AMBIGUOUS, SC_BAD_EVENT, SC_BAD_EXTENSION, SC_BAD_GATEWAY, SC_BAD_IDENTITY_INFO, SC_BAD_REQUEST, SC_BUSY_EVERYWHERE, SC_BUSY_HERE, SC_CALL_BEING_FORWARDED, SC_CALL_LEG_DONE, SC_CALL_QUEUED, SC_CONDITIONAL_REQUEST_FAILED, SC_DECLINE, SC_DOES_NOT_EXIST_ANYWHERE, SC_EXTENSION_REQUIRED, SC_FORBIDDEN, SC_GONE, SC_INTERVAL_TOO_BRIEF, SC_INVALID_IDENTITY_HEADER, SC_LOOP_DETECTED, SC_MESSAGE_TOO_LARGE, SC_METHOD_NOT_ALLOWED, SC_MOVED_PERMANENTLY, SC_MOVED_TEMPORARILY, SC_MULTIPLE_CHOICES, SC_NOT_ACCEPTABLE, SC_NOT_ACCEPTABLE_ANYWHERE, SC_NOT_ACCEPTABLE_HERE, SC_NOT_FOUND, SC_NOT_IMPLEMENTED, SC_OK, SC_PAYMENT_REQUIRED, SC_PRECONDITION_FAILURE, SC_PROVIDE_REFERER_IDENTITY, SC_PROXY_AUTHENTICATION_REQUIRED, SC_REQUEST_ENTITY_TOO_LARGE, SC_REQUEST_PENDING, SC_REQUEST_TERMINATED, SC_REQUEST_TIMEOUT, SC_REQUEST_URI_TOO_LONG, SC_RINGING, SC_SECURITY_AGREEMENT_REQUIRED, SC_SERVER_INTERNAL_ERROR, SC_SERVER_TIMEOUT, SC_SERVICE_UNAVAILABLE, SC_SESSION_INTERVAL_TOO_SMALL, SC_SESSION_PROGRESS, SC_TEMPORARILY_UNAVAILABLE, SC_TOO_MANY_HOPS, SC_TRYING, SC_UNAUTHORIZED, SC_UNDECIPHERABLE, SC_UNSUPPORTED_CERTIFICATE, SC_UNSUPPORTED_MEDIA_TYPE, SC_UNSUPPORTED_URI_SCHEME, SC_USE_IDENTITY_HEADER, SC_USE_PROXY, SC_VERSION_NOT_SUPPORTED| Modifier | Constructor and Description |
|---|---|
|
SipServletResponseImpl() |
protected |
SipServletResponseImpl(javax.sip.message.Response response,
SipFactoryImpl sipFactoryImpl,
javax.sip.Transaction transaction,
MobicentsSipSession session,
javax.sip.Dialog dialog,
boolean hasBeenReceived,
boolean isRetransmission)
Constructor
|
addAcceptLanguage, addAddressHeader, addHeader, addHeaderInternal, addParameterableHeader, containsRel100, countChars, createParameterable, equals, getAcceptLanguage, getAcceptLanguages, getAddressHeader, getAddressHeaders, getApplicationSession, getApplicationSession, getAppSessionId, getAttribute, getAttributeMap, getAttributeNames, getCallId, getCharacterEncoding, getCompactName, getContent, getContentLanguage, getContentLength, getContentType, getCorrectHeaderName, getCorrectHeaderName, getCurrentApplicationName, getDialog, getExpires, getFrom, getFullHeaderName, getHeader, getHeaderForm, getHeaderNames, getHeaders, getInitialRemoteAddr, getInitialRemotePort, getInitialTransport, getLocalAddr, getLocalPort, getMessage, getMethod, getParameterableHeader, getParameterableHeaders, getProtocol, getRawContent, getRemoteUser, getSession, getSession, getSipApplicationSession, getSipSession, getSipSessionKey, getTo, getTransaction, getTransactionApplicationData, getTransport, getUserPrincipal, hashCode, isAddressTypeHeader, isMessageSent, isOrphan, isParameterable, isSecure, isSystemHeader, isSystemHeaderAndNotGruu, isSystemHeaderAndNotGruu, isUserInRole, removeAttribute, removeHeader, removeHeaderInternal, setAcceptLanguage, setAddressHeader, setAppSessionId, setAttribute, setAttributeMap, setContent, setContentLanguage, setContentLength, setContentType, setCurrentApplicationName, setExpires, setHeader, setHeaderForm, setHeaderInternal, setOrphan, setParameterableHeader, setSipSession, setSipSessionKey, setTransaction, setTransport, setUserPrincipal, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDialoggetMessage, getSipApplicationSession, getSipSession, getSipSessionKey, getTransaction, getTransactionApplicationData, isMessageSent, setSipSession, setSipSessionKey, setTransactionisOrphan, setOrphanaddAcceptLanguage, addAddressHeader, addHeader, addParameterableHeader, getAcceptLanguage, getAcceptLanguages, getAddressHeader, getAddressHeaders, getApplicationSession, getApplicationSession, getAttribute, getAttributeNames, getCallId, getCharacterEncoding, getContent, getContentLanguage, getContentLength, getContentType, getExpires, getFrom, getHeader, getHeaderForm, getHeaderNames, getHeaders, getInitialRemoteAddr, getInitialRemotePort, getInitialTransport, getLocalAddr, getLocalPort, getMethod, getParameterableHeader, getParameterableHeaders, getProtocol, getRawContent, getRemoteUser, getSession, getSession, getTo, getTransport, getUserPrincipal, isSecure, isUserInRole, removeAttribute, removeHeader, setAcceptLanguage, setAddressHeader, setAttribute, setContent, setContentLanguage, setContentLength, setContentType, setExpires, setHeader, setHeaderForm, setParameterableHeaderpublic SipServletResponseImpl()
protected SipServletResponseImpl(javax.sip.message.Response response,
SipFactoryImpl sipFactoryImpl,
javax.sip.Transaction transaction,
MobicentsSipSession session,
javax.sip.Dialog dialog,
boolean hasBeenReceived,
boolean isRetransmission)
response - sipFactoryImpl - transaction - session - dialog - originalRequest - public javax.sip.message.Response getResponse()
public AddressImpl.ModifiableRule getModifiableRule(String headerName)
SipServletMessageImplgetModifiableRule in class SipServletMessageImplheaderName - -
either long or compact header namepublic SipServletRequest createAck()
createAck in interface SipServletResponsepublic SipServletRequest createPrack() throws Rel100Exception
createPrack in interface SipServletResponseRel100Exceptionpublic javax.servlet.ServletOutputStream getOutputStream()
throws IOException
getOutputStream in interface javax.servlet.ServletResponsegetOutputStream in interface SipServletResponseIOExceptionpublic Proxy getProxy()
getProxy in interface SipServletResponsepublic String getReasonPhrase()
getReasonPhrase in interface SipServletResponsepublic SipServletRequest getRequest()
getRequest in interface SipServletResponsepublic int getStatus()
getStatus in interface SipServletResponsepublic PrintWriter getWriter() throws IOException
getWriter in interface javax.servlet.ServletResponsegetWriter in interface SipServletResponseIOExceptionpublic void sendReliably()
throws Rel100Exception
sendReliably in interface SipServletResponseRel100Exceptionpublic void setStatus(int statusCode)
setStatus in interface SipServletResponsepublic void setStatus(int statusCode,
String reasonPhrase)
setStatus in interface SipServletResponsepublic void flushBuffer()
throws IOException
flushBuffer in interface javax.servlet.ServletResponseIOExceptionpublic int getBufferSize()
getBufferSize in interface javax.servlet.ServletResponsepublic Locale getLocale()
getLocale in interface javax.servlet.ServletResponsepublic void reset()
reset in interface javax.servlet.ServletResponsepublic void resetBuffer()
resetBuffer in interface javax.servlet.ServletResponsepublic void setBufferSize(int arg0)
setBufferSize in interface javax.servlet.ServletResponsepublic void setLocale(Locale arg0)
setLocale in interface javax.servlet.ServletResponsepublic void send()
throws IOException
send in interface SipServletMessagesend in interface SipServletResponsesend in class SipServletMessageImplIOExceptionpublic void send(boolean sendReliably)
throws IOException
IOExceptionpublic Iterator<String> getChallengeRealms()
getChallengeRealms in interface SipServletResponsepublic ProxyBranch getProxyBranch()
getProxyBranch in interface SipServletResponsepublic void setProxyBranch(MobicentsProxyBranch proxyBranch)
setProxyBranch in interface MobicentsSipServletResponsepublic boolean isBranchResponse()
isBranchResponse in interface SipServletResponsepublic void setBranchResponse(boolean branchResponse)
setBranchResponse in interface MobicentsSipServletResponsepublic boolean isCommitted()
isCommitted in interface javax.servlet.ServletResponseisCommitted in interface SipServletMessageprotected void checkMessageState()
checkMessageState in class SipServletMessageImplpublic void setOriginalRequest(SipServletRequestImpl originalRequest)
public void setProxiedResponse(boolean isProxiedResponse)
isProxiedResponse - the isProxiedResponse to setpublic boolean isProxiedResponse()
public void setCharacterEncoding(String enc)
setCharacterEncoding in interface javax.servlet.ServletResponsesetCharacterEncoding in interface SipServletMessagesetCharacterEncoding in class SipServletMessageImplpublic void cleanUp()
cleanUp in class SipServletMessageImplpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class SipServletMessageImplIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class SipServletMessageImplIOExceptionpublic boolean isRetransmission()
isRetransmission in interface MobicentsSipServletResponsepublic String getRemoteAddr()
getRemoteAddr in interface SipServletMessagegetRemoteAddr in class SipServletMessageImplpublic int getRemotePort()
getRemotePort in interface SipServletMessagegetRemotePort in class SipServletMessageImplCopyright © 2016. All Rights Reserved.