org.echarts.servlet.sip.features.proxyRequest
Interface ProxyRequestServletToJava


public interface ProxyRequestServletToJava

Interface defining how servlet calls out to its environment.


Method Summary
 java.lang.Object getProxyRequestResponse(SipServletRequest request)
          Return a value indicating how to handle the specified request: (1) forward to original request URI, (2) forward to a new URI, or (3) do not forward request and instead send an error response to the caller.
 

Method Detail

getProxyRequestResponse

java.lang.Object getProxyRequestResponse(SipServletRequest request)
Return a value indicating how to handle the specified request: (1) forward to original request URI, (2) forward to a new URI, or (3) do not forward request and instead send an error response to the caller.

Parameters:
request - request received by servlet.
Returns:
(1) null or (2) a SipURI or (3) an Integer value greater than or equal to 400 (the failure status code to return in the response).