@ GET @ Produces ( TEXT_PLAIN ) @ Timed @ ExceptionMetered public String version ( ) { // wrap in double quotes to make valid json return String . format ( "\"%s\"" , Version . POM_VERSION ) ; }
Returns the server version string .