excilys/androidannotations — pull request #194 by nachowski (2012-05-11 11:45:24+00:00)
Title: Allow setRootUrl(String url) in a @Rest interface

[Now with 100% lesser arbitrary formatting changes!]

This fix is the second variant proposed in Issue #171. A method setRootUrl() (just like setRestTemplate) can be defined to change the Root URL during runtime. The @Rest root URL value, if defined, is still set in the generated code.