Package com.nexmo.client.voice
Class WebSocketEndpoint
- java.lang.Object
-
- com.nexmo.client.voice.WebSocketEndpoint
-
- All Implemented Interfaces:
Endpoint
public class WebSocketEndpoint extends java.lang.Object implements Endpoint
-
-
Constructor Summary
Constructors Constructor Description WebSocketEndpoint(java.lang.String uri, java.lang.String contentType, java.util.List<org.apache.http.NameValuePair> headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContentType()java.util.List<org.apache.http.NameValuePair>getHeaders()java.lang.StringgetType()java.lang.StringgetUri()voidsetContentType(java.lang.String contentType)voidsetHeaders(java.util.List<org.apache.http.NameValuePair> headers)voidsetUri(java.lang.String uri)java.lang.StringtoLog()
-
-
-
Constructor Detail
-
WebSocketEndpoint
public WebSocketEndpoint(java.lang.String uri, java.lang.String contentType, java.util.List<org.apache.http.NameValuePair> headers)
-
-
Method Detail
-
getUri
public java.lang.String getUri()
-
getContentType
public java.lang.String getContentType()
-
getHeaders
public java.util.List<org.apache.http.NameValuePair> getHeaders()
-
setUri
public void setUri(java.lang.String uri)
-
setContentType
public void setContentType(java.lang.String contentType)
-
setHeaders
public void setHeaders(java.util.List<org.apache.http.NameValuePair> headers)
-
-