java - What does this strange Jersey warning mean? -
what warning mean in jersey 1.4:
warning: sub-resource method, public final java.lang.string com.xxx.render(), uri template, "/", treated resource method
this how method looks:
@get @produces(mediatype.application_xml) @path("/") public final string render() { return "test"; }
why need specify such path method? @get enough tell jersey default method entire class (i'm assuming class has @path("/myres") annotation).
Comments
Post a Comment