Package org.cybergarage.upnp.ssdp
Class SSDPResponse
java.lang.Object
org.cybergarage.http.HTTPPacket
org.cybergarage.http.HTTPResponse
org.cybergarage.upnp.ssdp.SSDPResponse
- Direct Known Subclasses:
SSDPSearchResponse
public class SSDPResponse extends HTTPResponse
-
Constructor Summary
Constructors Constructor Description SSDPResponse()
SSDPResponse(InputStream in)
-
Method Summary
Modifier and Type Method Description int
getBootId()
String
getHeader()
int
getLeaseTime()
String
getLocation()
String
getMYNAME()
String
getST()
String
getUSN()
void
setBootId(int bootId)
void
setLeaseTime(int len)
void
setLocation(String value)
void
setMYNAME(String value)
void
setST(String value)
void
setUSN(String value)
Methods inherited from class org.cybergarage.http.HTTPResponse
getStatusCode, getStatusLineString, isSuccessful, print, setStatusCode, toString
Methods inherited from class org.cybergarage.http.HTTPPacket
addHeader, addHeader, clearHeaders, getCacheControl, getCharSet, getConnection, getContent, getContentInputStream, getContentLanguage, getContentLength, getContentRange, getContentRangeFirstPosition, getContentRangeInstanceLength, getContentRangeLastPosition, getContentString, getContentType, getDate, getFirstLine, getFirstLineToken, getHeader, getHeader, getHeaderString, getHeaderValue, getHost, getIntegerHeaderValue, getLongHeaderValue, getNHeaders, getServer, getStringHeaderValue, getStringHeaderValue, getTransferEncoding, getVersion, hasConnection, hasContent, hasContentInputStream, hasContentRange, hasFirstLine, hasHeader, hasTransferEncoding, init, isChunked, isCloseConnection, isKeepAliveConnection, read, set, set, set, set, setCacheControl, setCacheControl, setCacheControl, setConnection, setContent, setContent, setContent, setContent, setContentInputStream, setContentLanguage, setContentLength, setContentRange, setContentType, setDate, setHeader, setHeader, setHeader, setHeader, setHost, setHost, setIntegerHeader, setLongHeader, setServer, setStringHeader, setStringHeader, setTransferEncoding, setVersion
-
Constructor Details
-
SSDPResponse
public SSDPResponse() -
SSDPResponse
-
-
Method Details
-
setST
-
getST
-
setLocation
-
getLocation
-
setUSN
-
getUSN
-
setMYNAME
-
getMYNAME
-
setLeaseTime
public void setLeaseTime(int len) -
getLeaseTime
public int getLeaseTime() -
setBootId
public void setBootId(int bootId) -
getBootId
public int getBootId() -
getHeader
- Overrides:
getHeader
in classHTTPResponse
-