@ GET @ Timed @ Produces ( MediaType . TEXT_PLAIN ) @ CacheControl ( mustRevalidate = true , noCache = true , noStore = true ) public String getIdAsString ( @ HeaderParam ( HttpHeaders . USER_AGENT ) final String agent ) { return String . valueOf ( getId ( agent ) ) ; }
Get a new ID as plain text