Class ResponseBuilderImpl
java.lang.Object
jakarta.ws.rs.core.Response.ResponseBuilder
org.jboss.resteasy.specimpl.ResponseBuilderImpl
public class ResponseBuilderImpl
extends jakarta.ws.rs.core.Response.ResponseBuilder
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Modifier and TypeFieldDescriptionprotected Object
protected Annotation[]
protected String
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response.ResponseBuilder
jakarta.ws.rs.core.Response.ResponseBuilder
jakarta.ws.rs.core.Response
build()
jakarta.ws.rs.core.Response.ResponseBuilder
cacheControl
(jakarta.ws.rs.core.CacheControl cacheControl) jakarta.ws.rs.core.Response.ResponseBuilder
clone()
jakarta.ws.rs.core.Response.ResponseBuilder
contentLocation
(URI location) jakarta.ws.rs.core.Response.ResponseBuilder
cookie
(jakarta.ws.rs.core.NewCookie... cookies) static String
createVaryHeader
(List<jakarta.ws.rs.core.Variant> variants) jakarta.ws.rs.core.Response.ResponseBuilder
jakarta.ws.rs.core.Response.ResponseBuilder
jakarta.ws.rs.core.Response.ResponseBuilder
entity
(Object entity, Annotation[] annotations) jakarta.ws.rs.core.Response.ResponseBuilder
static SimpleDateFormat
jakarta.ws.rs.core.Response.ResponseBuilder
jakarta.ws.rs.core.Response.ResponseBuilder
jakarta.ws.rs.core.Response.ResponseBuilder
jakarta.ws.rs.core.Response.ResponseBuilder
lastModified
(Date lastModified) jakarta.ws.rs.core.Response.ResponseBuilder
jakarta.ws.rs.core.Response.ResponseBuilder
jakarta.ws.rs.core.Response.ResponseBuilder
links
(jakarta.ws.rs.core.Link... links) jakarta.ws.rs.core.Response.ResponseBuilder
jakarta.ws.rs.core.Response.ResponseBuilder
replaceAll
(jakarta.ws.rs.core.MultivaluedMap<String, Object> headers) jakarta.ws.rs.core.Response.ResponseBuilder
status
(int status) jakarta.ws.rs.core.Response.ResponseBuilder
jakarta.ws.rs.core.Response.ResponseBuilder
tag
(jakarta.ws.rs.core.EntityTag tag) jakarta.ws.rs.core.Response.ResponseBuilder
jakarta.ws.rs.core.Response.ResponseBuilder
type
(jakarta.ws.rs.core.MediaType type) jakarta.ws.rs.core.Response.ResponseBuilder
jakarta.ws.rs.core.Response.ResponseBuilder
variant
(jakarta.ws.rs.core.Variant variant) jakarta.ws.rs.core.Response.ResponseBuilder
variants
(jakarta.ws.rs.core.Variant... variants) jakarta.ws.rs.core.Response.ResponseBuilder
Methods inherited from class jakarta.ws.rs.core.Response.ResponseBuilder
newInstance, status, status
-
Field Details
-
entity
-
entityAnnotations
-
status
protected int status -
reasonPhrase
-
metadata
-
-
Constructor Details
-
ResponseBuilderImpl
public ResponseBuilderImpl()
-
-
Method Details
-
build
public jakarta.ws.rs.core.Response build()- Specified by:
build
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
clone
public jakarta.ws.rs.core.Response.ResponseBuilder clone()- Specified by:
clone
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
status
- Specified by:
status
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
status
public jakarta.ws.rs.core.Response.ResponseBuilder status(int status) - Specified by:
status
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
entity
- Specified by:
entity
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
entity
- Specified by:
entity
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
type
public jakarta.ws.rs.core.Response.ResponseBuilder type(jakarta.ws.rs.core.MediaType type) - Specified by:
type
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
type
- Specified by:
type
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
variant
public jakarta.ws.rs.core.Response.ResponseBuilder variant(jakarta.ws.rs.core.Variant variant) - Specified by:
variant
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
variants
public jakarta.ws.rs.core.Response.ResponseBuilder variants(List<jakarta.ws.rs.core.Variant> variants) - Specified by:
variants
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
createVaryHeader
-
language
- Specified by:
language
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
location
- Specified by:
location
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
contentLocation
- Specified by:
contentLocation
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
tag
public jakarta.ws.rs.core.Response.ResponseBuilder tag(jakarta.ws.rs.core.EntityTag tag) - Specified by:
tag
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
tag
- Specified by:
tag
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
lastModified
- Specified by:
lastModified
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
cacheControl
public jakarta.ws.rs.core.Response.ResponseBuilder cacheControl(jakarta.ws.rs.core.CacheControl cacheControl) - Specified by:
cacheControl
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
header
-
cookie
public jakarta.ws.rs.core.Response.ResponseBuilder cookie(jakarta.ws.rs.core.NewCookie... cookies) - Specified by:
cookie
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
language
- Specified by:
language
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
getDateFormatRFC822
-
expires
- Specified by:
expires
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
allow
- Specified by:
allow
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
allow
-
encoding
- Specified by:
encoding
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
variants
public jakarta.ws.rs.core.Response.ResponseBuilder variants(jakarta.ws.rs.core.Variant... variants) - Specified by:
variants
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
links
public jakarta.ws.rs.core.Response.ResponseBuilder links(jakarta.ws.rs.core.Link... links) - Specified by:
links
in classjakarta.ws.rs.core.Response.ResponseBuilder
-
link
-
link
-
replaceAll
-