org.cybergarage.upnp.ssdp

## Class SSDPSearchRequest

- java.lang.Object
- - org.cybergarage.http.HTTPPacket
  - - org.cybergarage.http.HTTPRequest
    - - org.cybergarage.upnp.ssdp.SSDPRequest
      - - org.cybergarage.upnp.ssdp.SSDPSearchRequest

-     public class SSDPSearchRequest
      extends SSDPRequest

  Represents an SSDP M-SEARCH request for device discovery.

  This class extends SSDPRequest to handle M-SEARCH messages used by UPnP control points to discover devices and services on the network. It manages the creation and configuration of search requests with specific targets and timing parameters.

  Key features:

  - M-SEARCH method and URI configuration
  - Search target (ST) specification
  - MX (Maximum wait time) parameter management
  - Multicast destination configuration
  - MAN header specification

  This class is used by UPnP control points to initiate device discovery searches, allowing them to find devices matching specific search targets such as device types, service types, or unique device identifiers.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SSDPSearchRequest()`
    `SSDPSearchRequest(String serachTarget)`
    `SSDPSearchRequest(String serachTarget, int mx)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setLocalAddress(String bindAddr)`

    - ### Methods inherited from class org.cybergarage.upnp.ssdp.SSDPRequest

      `getBootId, getLeaseTime, getLocation, getNT, getNTS, getUSN, setBootId, setLeaseTime, setLocation, setNT, setNTS, setUSN`

    - ### 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, setIntegerHeader, setLongHeader, setServer, setStringHeader, setStringHeader, setTransferEncoding, setVersion`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### SSDPSearchRequest

          public SSDPSearchRequest()

    - #### SSDPSearchRequest

          public SSDPSearchRequest(String serachTarget)

    - #### SSDPSearchRequest

          public SSDPSearchRequest(String serachTarget,
                                   int mx)

  - ### Method Detail

    - #### setLocalAddress

          public void setLocalAddress(String bindAddr)