Package com.vonage.client.voice.ncco
Class SipEndpoint
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.voice.ncco.SipEndpoint
Represents a SIP endpoint used in a
ConnectAction. See
the documentation
for an example.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SipEndpoint.BuilderEntry point for constructing an instance of this class.static SipEndpoint.BuilderEntry point for constructing an instance of this class.Defines custom headers to be sent as part of the SIP INVITE request.Headers that are RFC standards, i.e. not prepended withX-.getType()getUri()URI of the SIP endpoint.Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Method Details
-
getType
-
getUri
URI of the SIP endpoint.- Returns:
- The URI.
-
getHeaders
Defines custom headers to be sent as part of the SIP INVITE request. All keys will be prepended with theX-prefix.- Returns:
- The custom headers as a Map, or
nullif unspecified.
-
getStandardHeaders
Headers that are RFC standards, i.e. not prepended withX-.- Returns:
- The standard headers, or
nullif unspecified. - Since:
- 8.9.0
-
builder
Entry point for constructing an instance of this class.- Parameters:
uri- The SIP URI as a string.- Returns:
- A new Builder.
-
builder
Entry point for constructing an instance of this class.- Parameters:
uri- The SIP URI.- Returns:
- A new Builder.
-