Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 281870

Summary: Make URLHelper public API
Product: [RT] RAP Reporter: Stefan Röck <stefan.roeck>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Stefan Röck CLA 2009-06-29 12:48:14 EDT
It would be very helpful, if the class org.eclipse.rwt.internal.util.URLHelper becomes public API. 
Especially the methods getUrlString(Boolean) and appendParam are useful for implementing custom ServiceHandlers (example: UploadWidget).
Looking at the CVS-History, the implementation has not changed during the last 2 years so this is unlikely to happen in the future.
Comment 1 Rüdiger Herrmann CLA 2009-09-18 06:28:14 EDT
The methods from URLHelper hould not be used as they return absolute URLs.
It is recommended to use relavtive URLs. If you think of redirecting HTTP daemons, the host name that is known on the server side might be wrong.