org.echarts.servlet.sip.utilities
Class UpdateRequestModifier

java.lang.Object
  extended by org.echarts.servlet.sip.utilities.RequestModifier
      extended by org.echarts.servlet.sip.utilities.UpdateRequestModifier

public class UpdateRequestModifier
extends RequestModifier

A RequestModifier that reflects the information in the specified AddressInfo.


Constructor Summary
UpdateRequestModifier(AddressInfo addressInfo, SipFactory factory)
           
 
Method Summary
 Address getModifiedFromAddress(SipServletRequest arg0)
          Provide a modified From address to use in outgoing SipServletRequest.
 URI getModifiedRequestURI(SipServletRequest arg0)
          Provide a modified Request-URI to use in outgoing SipServletRequest.
 
Methods inherited from class org.echarts.servlet.sip.utilities.RequestModifier
getModifiedRoutes, modify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateRequestModifier

public UpdateRequestModifier(AddressInfo addressInfo,
                             SipFactory factory)
Parameters:
addressInfo -
factory -
Method Detail

getModifiedFromAddress

public Address getModifiedFromAddress(SipServletRequest arg0)
Description copied from class: RequestModifier
Provide a modified From address to use in outgoing SipServletRequest. Base class returns null (no change).

Overrides:
getModifiedFromAddress in class RequestModifier
Parameters:
arg0 - request on which to base modified From address
Returns:
desired From address, or null for no change

getModifiedRequestURI

public URI getModifiedRequestURI(SipServletRequest arg0)
Description copied from class: RequestModifier
Provide a modified Request-URI to use in outgoing SipServletRequest. Base class returns null (no change).

Overrides:
getModifiedRequestURI in class RequestModifier
Parameters:
arg0 - request on which to base modified Request-URI
Returns:
desired Request-URI, or null if no change