Constructor and Description |
---|
ResponseBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response.ResponseBuilder |
allow(Set<String> methods) |
javax.ws.rs.core.Response.ResponseBuilder |
allow(String... methods) |
javax.ws.rs.core.Response |
build() |
javax.ws.rs.core.Response.ResponseBuilder |
cacheControl(javax.ws.rs.core.CacheControl cacheControl) |
javax.ws.rs.core.Response.ResponseBuilder |
clone() |
javax.ws.rs.core.Response.ResponseBuilder |
contentLocation(URI location) |
javax.ws.rs.core.Response.ResponseBuilder |
cookie(javax.ws.rs.core.NewCookie... cookies) |
javax.ws.rs.core.Response.ResponseBuilder |
encoding(String encoding) |
javax.ws.rs.core.Response.ResponseBuilder |
entity(Object e) |
javax.ws.rs.core.Response.ResponseBuilder |
entity(Object ent,
Annotation[] anns) |
javax.ws.rs.core.Response.ResponseBuilder |
expires(Date date) |
javax.ws.rs.core.Response.ResponseBuilder |
header(String name,
Object value) |
javax.ws.rs.core.Response.ResponseBuilder |
language(Locale locale) |
javax.ws.rs.core.Response.ResponseBuilder |
language(String language) |
javax.ws.rs.core.Response.ResponseBuilder |
lastModified(Date date) |
javax.ws.rs.core.Response.ResponseBuilder |
link(String href,
String rel) |
javax.ws.rs.core.Response.ResponseBuilder |
link(URI href,
String rel) |
javax.ws.rs.core.Response.ResponseBuilder |
links(javax.ws.rs.core.Link... links) |
javax.ws.rs.core.Response.ResponseBuilder |
location(URI loc) |
javax.ws.rs.core.Response.ResponseBuilder |
replaceAll(javax.ws.rs.core.MultivaluedMap<String,Object> map) |
javax.ws.rs.core.Response.ResponseBuilder |
status(int statusCode) |
javax.ws.rs.core.Response.ResponseBuilder |
status(int statusCode,
String reason) |
javax.ws.rs.core.Response.ResponseBuilder |
tag(javax.ws.rs.core.EntityTag tag) |
javax.ws.rs.core.Response.ResponseBuilder |
tag(String tag) |
javax.ws.rs.core.Response.ResponseBuilder |
type(javax.ws.rs.core.MediaType type) |
javax.ws.rs.core.Response.ResponseBuilder |
type(String type) |
javax.ws.rs.core.Response.ResponseBuilder |
variant(javax.ws.rs.core.Variant variant) |
javax.ws.rs.core.Response.ResponseBuilder |
variants(List<javax.ws.rs.core.Variant> variants) |
javax.ws.rs.core.Response.ResponseBuilder |
variants(javax.ws.rs.core.Variant... variants) |
public javax.ws.rs.core.Response build()
build
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder status(int statusCode)
status
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder status(int statusCode, String reason)
status
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder entity(Object e)
entity
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder type(javax.ws.rs.core.MediaType type)
type
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder type(String type)
type
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder language(Locale locale)
language
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder language(String language)
language
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder location(URI loc)
location
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder contentLocation(URI location)
contentLocation
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder tag(javax.ws.rs.core.EntityTag tag)
tag
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder tag(String tag)
tag
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder lastModified(Date date)
lastModified
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder cacheControl(javax.ws.rs.core.CacheControl cacheControl)
cacheControl
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder expires(Date date)
expires
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder cookie(javax.ws.rs.core.NewCookie... cookies)
cookie
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder header(String name, Object value)
header
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder variant(javax.ws.rs.core.Variant variant)
variant
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder variants(List<javax.ws.rs.core.Variant> variants)
variants
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder clone()
clone
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder allow(String... methods)
allow
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder allow(Set<String> methods)
allow
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder encoding(String encoding)
encoding
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder entity(Object ent, Annotation[] anns)
entity
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder link(URI href, String rel)
link
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder link(String href, String rel)
link
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder links(javax.ws.rs.core.Link... links)
links
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder replaceAll(javax.ws.rs.core.MultivaluedMap<String,Object> map)
replaceAll
in class javax.ws.rs.core.Response.ResponseBuilder
public javax.ws.rs.core.Response.ResponseBuilder variants(javax.ws.rs.core.Variant... variants)
variants
in class javax.ws.rs.core.Response.ResponseBuilder
Apache CXF