javax.ws.rs.core.Response.Status contains several values like NOT_FOUND, OK,
... Such status codes are available as constants in the class
java.net.URLConnection, too (HTTP_NOT_FOUND, HTTP_OK, ...).
When implementing a resource class what is considered as best practice?
Using the constants of Response.Status or of URLConnection?