Package org.cybergarage.upnp.ssdp
Class SSDPRequest
- java.lang.Object
-
- org.cybergarage.http.HTTPPacket
-
- org.cybergarage.http.HTTPRequest
-
- org.cybergarage.upnp.ssdp.SSDPRequest
-
- Direct Known Subclasses:
SSDPNotifyRequest,SSDPSearchRequest
public class SSDPRequest extends HTTPRequest
-
-
Constructor Summary
Constructors Constructor Description SSDPRequest()SSDPRequest(InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBootId()intgetLeaseTime()StringgetLocation()StringgetNT()StringgetNTS()StringgetUSN()voidsetBootId(int bootId)voidsetLeaseTime(int len)voidsetLocation(String value)voidsetNT(String value)voidsetNTS(String value)voidsetUSN(String value)-
Methods inherited from class org.cybergarage.http.HTTPRequest
getFirstLineString, getHeader, getHTTPVersion, getLocalAddress, getLocalPort, getMethod, getParameterList, getParameterValue, getRequestHost, getRequestPort, getSocket, getURI, isGetRequest, isHeadRequest, isKeepAlive, isMethod, isNotifyRequest, isPostRequest, isSOAPAction, isSubscribeRequest, isUnsubscribeRequest, parseRequestLine, post, post, post, print, read, returnBadRequest, returnOK, returnResponse, set, setBindHost, setMethod, setRequestHost, setRequestPort, setSocket, setURI, setURI, 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 Detail
-
SSDPRequest
public SSDPRequest()
-
SSDPRequest
public SSDPRequest(InputStream in)
-
-
Method Detail
-
setNT
public void setNT(String value)
-
getNT
public String getNT()
-
setNTS
public void setNTS(String value)
-
getNTS
public String getNTS()
-
setLocation
public void setLocation(String value)
-
getLocation
public String getLocation()
-
setUSN
public void setUSN(String value)
-
getUSN
public String getUSN()
-
setLeaseTime
public void setLeaseTime(int len)
-
getLeaseTime
public int getLeaseTime()
-
setBootId
public void setBootId(int bootId)
-
getBootId
public int getBootId()
-
-