ost>[:<port>]/[<context>][/<module>][/<version>]<resourcePaths>[?<queryParameter>]
Part | Description | Default | Example |
protocol | The protocol. If specified, must not be null / empty. | The protocol from {@link GWT#getHostPageBaseURL()} | http, https |
host | The hostname. Can include a port. If specified, must not be null / empty. | The host from {@link GWT#getHostPageBaseURL()} | 127.0.0.1, www.esoves.de:8080 |
port | The port number. If specified must be something between {@link #MIN_PORT}and {@link #MAX_PORT} | The port from {@link GWT#getHostPageBaseURL()} | 80, 8080 |
context | The context path. If specified, must not be null / empty. In case the context starts with a '/' there won't be a double '//' in the URL. | The context from {@link GWT#getHostPageBaseURL()} | foo, /bar, / |
module | Some kind of REST module. If you have many resources you might want to subdivide your resources in different modules like 'admin', 'export', etc. If specified, must not be null / empty. | nothing | admin, common, export |
path | The actual resource paths. At least one path must be provided. In case the context starts with a '/' there won't be a double '//' in the URL. | nothing | [user, 0815], [/users, 0815, /groups, 12] |
query | Query parameters. You can specify 0-n values for one parameter. If specified, the name must not be null / empty. | nothing | [foo=[bar], options=[a, b, x]] |
@author $Author: lfstad-pehl $
@version $Date: 2010-02-23 14:59:55 +0100 (Di, 23. Feb 2010) $ $Revision:77293 $