public interface SSDPMessage extends HttpMessage
HttpMessage
interface definition.Modifier and Type | Field and Description |
---|---|
static InetSocketAddress |
ADDRESS
SSDP IPv4 broadcast address
|
static String |
AL
SSDP message header name
|
static Charset |
CHARSET
SSDP
Charset |
static String |
CRLF
SSDPMessage end-of-line sequence. |
static String |
EXT
SSDP message header name
|
static String |
MAN
SSDP message header name
|
static String |
MAX_AGE
HTTP cache control key
|
static String |
MX
SSDP message header name
|
static String |
NT
SSDP message header name
|
static String |
NTS
SSDP message header name
|
static String |
SSDP_ALIVE
SSDP
NTS value |
static String |
SSDP_BYEBYE
SSDP
NTS value |
static String |
ST
SSDP message header name
|
static String |
USN
SSDP message header name
|
Modifier and Type | Method and Description |
---|---|
default URI |
getLocation()
Method to get the service location.
|
default URI |
getST()
Method to get the service type ("ST").
|
default URI |
getUSN()
|
default DatagramPacket |
toDatagramPacket()
|
addHeader, addHeader, containsHeader, getAllHeaders, getFirstHeader, getHeaders, getLastHeader, getParams, getProtocolVersion, headerIterator, headerIterator, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setParams
static final InetSocketAddress ADDRESS
static final String AL
static final String EXT
static final String MAN
static final String MX
static final String NT
static final String NTS
static final String ST
static final String USN
static final String SSDP_ALIVE
NTS
valuestatic final String SSDP_BYEBYE
NTS
valuestatic final String MAX_AGE
static final String CRLF
SSDPMessage
end-of-line sequence.default URI getLocation()
URI
.default DatagramPacket toDatagramPacket() throws SocketException
DatagramPacket
.SocketException
- If this SSDPMessage
cannot be
converted to a DatagramPacket
.ADDRESS
Copyright © 2015–2020 Allen D. Ball. All rights reserved.