Class Response

java.lang.Object
jakarta.ws.rs.core.Response
All Implemented Interfaces:
AutoCloseable

public abstract class Response extends Object implements AutoCloseable
Defines the contract between a returned instance and the runtime when an application needs to provide meta-data to the runtime.

An application class should not extend this class directly. Response class is reserved for an extension by a JAX-RS implementation providers. An application should use one of the static methods to create a Response instance using a ResponseBuilder.

Several methods have parameters of type URI, UriBuilder provides convenient methods to create such values as does URI.create(java.lang.String).

Since:
1.0
See Also: