public class SipServerResource extends ServerResource
| Constructor and Description |
|---|
SipServerResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCallId()
Returns the request's call ID.
|
String |
getCommandSequence()
Returns the request's command sequence.
|
Address |
getFrom()
Returns the request initiator's address.
|
SipRequest |
getRequest()
Returns the handled request.
|
SipResponse |
getResponse()
Returns the handled response.
|
Address |
getTo()
Returns the request recipient's address.
|
void |
init(Context context,
Request request,
Response response)
Initialization method setting the environment of the current resource
instance.
|
abort, commit, delete, delete, describeVariants, doCatch, doConditionalHandle, doError, doHandle, doHandle, doNegotiatedHandle, get, get, getAttribute, getInfo, getInfo, getOnSent, getPreferredVariant, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAttribute, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDimensions, setExisting, setLocationRef, setLocationRef, setNegotiated, setOnSent, setProxyChallengeRequests, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods, updateDimensionsdoError, doInit, doRelease, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getConnegService, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMatrixValue, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getProxyChallengeRequests, getProxyChallengeResponse, getQuery, getQueryValue, getRanges, getReference, getReferrerRef, getRequestAttributes, getRequestCacheDirectives, getRequestEntity, getResponseAttributes, getResponseCacheDirectives, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, isConfidential, isLoggable, release, setApplication, setQueryValue, setRequest, setResponse, toObject, toRepresentation, toStringpublic String getCallId()
public String getCommandSequence()
public Address getFrom()
public SipRequest getRequest()
ResourcegetRequest in class Resourcepublic SipResponse getResponse()
ResourcegetResponse in class Resourcepublic Address getTo()
public void init(Context context, Request request, Response response)
ResourceResource.doInit() method that can be
overridden.Copyright © 2005–2015. All rights reserved.