Package com.bea.wcp.sip.util
Interface TransportUtil
public interface TransportUtil
A utility interface for obtaining all SIP listeners, and for
determining if a given SIP URI represents the local server.
An implementation of this interface is available in the Servlet
context as the
com.bea.wcp.util.sip.TransportUtil attribute.- Author:
- Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUsed to look up the utility in the Servlet context. -
Method Summary
Modifier and TypeMethodDescriptionjavax.servlet.sip.SipURI[]booleanisLocalServer(javax.servlet.sip.SipURI uri)
-
Field Details
-
TRANSPORT_UTIL
Used to look up the utility in the Servlet context.
-
-
Method Details
-
getAllTransports
javax.servlet.sip.SipURI[] getAllTransports()- Returns:
- An array of all transports configured on this server.
-
isLocalServer
boolean isLocalServer(javax.servlet.sip.SipURI uri) - Parameters:
uri-- Returns:
- true if the specified URI resolves to the local server/transport.
-