YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.yxc.YxcHttpDescriptionFetcher Class Reference

YxcDescriptionFetcher over HttpURLConnection: plain http only, no redirects, short timeouts, the size of the answer is bounded. More...

Inheritance diagram for de.yaacc.yxc.YxcHttpDescriptionFetcher:
Inheritance graph
Collaboration diagram for de.yaacc.yxc.YxcHttpDescriptionFetcher:
Collaboration graph

Public Member Functions

String fetch (String descriptorUrl) throws IOException
 
- Public Member Functions inherited from de.yaacc.yxc.YxcDescriptionFetcher

Detailed Description

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.

Member Function Documentation

◆ fetch()

String de.yaacc.yxc.YxcHttpDescriptionFetcher.fetch ( String descriptorUrl) throws IOException
Returns
the text of the description, at most YxcDescriptionParser#MAX_DESCRIPTION_CHARS characters
Exceptions
IOExceptionwhen the device does not answer or answers with anything but a document of that size

Implements de.yaacc.yxc.YxcDescriptionFetcher.


The documentation for this class was generated from the following file: