Ticket #1187 (closed enhancement: fixed)
Application resource requests passed to URIHandler
| Reported by: | Marko Gronroos | Owned by: | Marko Gronroos |
|---|---|---|---|
| Priority: | undefined | Milestone: | User Interface Library 5.2.0 RC4 |
| Component: | Documentation | Version: | 5.0.0-pre |
| Keywords: | Cc: | ||
| Known Issue description: | |||
| Hours estimate: | 1 | Deadline (dd.mm.yyyy): | |
| Known Issue version (since): | Known Issue title: | ||
| Hours done: | Depends to: | ||
| Affects documentation: | yes | ||
| Known Issue workaround: | |||
| Affects release notes: | yes | Contract: | |
Description
If I have a class resource (or some other application resource type), there will be a request for an APP/ object. This is passed to URIHandler of Application. It can be handled somewhat easily, but may be very unexpected and it would probably be best to handle it before the URIHandler.
Below is a workaround:
public DownloadStream handleURI(URL context, String relativeUri) {
if (relativeUri.startsWith("APP"))
return super.handleURI(context, relativeUri);
Change History
Note: See
TracTickets for help on using
tickets.
