Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Upon creation, the LinkBuilders automatically detects if the target method being invoked is a resource method or a sub-resource method. The "resource" and "subResource" properties of the builder are initialized accordingly. The link builder interfaces reside in the comorg.hpapache.symphonywink.server.utils package.

Link Builders Overview

...

Apache Wink supports the special query parameter "alt" that is used to override the value of the request Accept header. When the link builders generate a link that specifies the "type" attribute, then the "alt" query parameter is automatically added to the generated link. This is controlled by setting the symphonywink.addAltParam key of the configuration properties file or by calling the LinksBuilder#addAltParam() method.

...