|
YAACC - UPNP Client and Server
|
YxcDescriptionFetcher over HttpURLConnection: plain http only, no redirects, short timeouts, the size of the answer is bounded.
More...


Public Member Functions | |
| String | fetch (String descriptorUrl) throws IOException |
Public Member Functions inherited from de.yaacc.yxc.YxcDescriptionFetcher | |
YxcDescriptionFetcher over HttpURLConnection: plain http only, no redirects, short timeouts, the size of the answer is bounded.
The URL comes from yaacc's own device registry, never from user input.
| String de.yaacc.yxc.YxcHttpDescriptionFetcher.fetch | ( | String | descriptorUrl | ) | throws IOException |
YxcDescriptionParser#MAX_DESCRIPTION_CHARS characters | IOException | when the device does not answer or answers with anything but a document of that size |
Implements de.yaacc.yxc.YxcDescriptionFetcher.