|
YAACC - UPNP Client and Server
|
Target of a ShareRegistry.Kind#HTTP_LINK entry: an http or https link the proxy relays.
More...

Public Member Functions | |
| RendererStateMap | getRendererStates () |
| String | getUrl () |
| boolean | equals (Object o) |
| int | hashCode () |
| String | toString () |
Static Public Member Functions | |
| static HttpLinkTarget | of (String url) |
| static boolean | isFetchable (String url) |
Static Public Attributes | |
| static final int | MAX_LENGTH = 2048 |
| Longer links are refused. | |
Target of a ShareRegistry.Kind#HTTP_LINK entry: an http or https link the proxy relays.
The proxy never fetches anything else, so the scheme is checked when the target is built and again where it is fetched (isFetchable). Plain Java. toString() does not show the link (it may carry a token).
| RendererStateMap de.yaacc.share.HttpLinkTarget.getRendererStates | ( | ) |
| String de.yaacc.share.HttpLinkTarget.getUrl | ( | ) |
|
static |
of(String) would accept the text Referenced by de.yaacc.upnp.UpnpClient.createPlayableItem(), de.yaacc.share.LinkContentType.find(), and de.yaacc.share.LinkTargetPolicy.isAllowedTarget().

|
static |
| url | the link as text, may be null |
MAX_LENGTH, has leading blanks or contains whitespace or control characters