* @throws JSONException
*/
@OPTIONS
public String options() throws JSONException {
RestResourceMetadata rrmd = new RestResourceMetadata(this);
return rrmd.toJson().toString(Util.getFormattingIndentLevel());
}
/**
* This method creates a sub-resource of the specified type. Since the JAX-RS does not allow for injection into
* sub-resources (as it doesn't know or control the lifecycle of the object), this method performs a manual