org.apache.cxf.jaxrs.impl
Class ResponseBuilderImpl
java.lang.Object
javax.ws.rs.core.Response.ResponseBuilder
org.apache.cxf.jaxrs.impl.ResponseBuilderImpl
public final class ResponseBuilderImpl
- extends javax.ws.rs.core.Response.ResponseBuilder
Method Summary |
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 |
entity(Object e)
|
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 |
location(URI loc)
|
javax.ws.rs.core.Response.ResponseBuilder |
status(int s)
|
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)
|
Methods inherited from class javax.ws.rs.core.Response.ResponseBuilder |
newInstance, status, status |
ResponseBuilderImpl
public ResponseBuilderImpl()
build
public javax.ws.rs.core.Response build()
- Specified by:
build
in class javax.ws.rs.core.Response.ResponseBuilder
status
public javax.ws.rs.core.Response.ResponseBuilder status(int s)
- Specified by:
status
in class javax.ws.rs.core.Response.ResponseBuilder
entity
public javax.ws.rs.core.Response.ResponseBuilder entity(Object e)
- Specified by:
entity
in class javax.ws.rs.core.Response.ResponseBuilder
type
public javax.ws.rs.core.Response.ResponseBuilder type(javax.ws.rs.core.MediaType type)
- Specified by:
type
in class javax.ws.rs.core.Response.ResponseBuilder
type
public javax.ws.rs.core.Response.ResponseBuilder type(String type)
- Specified by:
type
in class javax.ws.rs.core.Response.ResponseBuilder
language
public javax.ws.rs.core.Response.ResponseBuilder language(Locale locale)
- Specified by:
language
in class javax.ws.rs.core.Response.ResponseBuilder
language
public javax.ws.rs.core.Response.ResponseBuilder language(String language)
- Specified by:
language
in class javax.ws.rs.core.Response.ResponseBuilder
location
public javax.ws.rs.core.Response.ResponseBuilder location(URI loc)
- Specified by:
location
in class javax.ws.rs.core.Response.ResponseBuilder
contentLocation
public javax.ws.rs.core.Response.ResponseBuilder contentLocation(URI location)
- Specified by:
contentLocation
in class javax.ws.rs.core.Response.ResponseBuilder
tag
public javax.ws.rs.core.Response.ResponseBuilder tag(javax.ws.rs.core.EntityTag tag)
- Specified by:
tag
in class javax.ws.rs.core.Response.ResponseBuilder
tag
public javax.ws.rs.core.Response.ResponseBuilder tag(String tag)
- Specified by:
tag
in class javax.ws.rs.core.Response.ResponseBuilder
lastModified
public javax.ws.rs.core.Response.ResponseBuilder lastModified(Date date)
- Specified by:
lastModified
in class javax.ws.rs.core.Response.ResponseBuilder
cacheControl
public javax.ws.rs.core.Response.ResponseBuilder cacheControl(javax.ws.rs.core.CacheControl cacheControl)
- Specified by:
cacheControl
in class javax.ws.rs.core.Response.ResponseBuilder
expires
public javax.ws.rs.core.Response.ResponseBuilder expires(Date date)
- Specified by:
expires
in class javax.ws.rs.core.Response.ResponseBuilder
cookie
public javax.ws.rs.core.Response.ResponseBuilder cookie(javax.ws.rs.core.NewCookie... cookies)
- Specified by:
cookie
in class javax.ws.rs.core.Response.ResponseBuilder
header
public javax.ws.rs.core.Response.ResponseBuilder header(String name,
Object value)
- Specified by:
header
in class javax.ws.rs.core.Response.ResponseBuilder
variant
public javax.ws.rs.core.Response.ResponseBuilder variant(javax.ws.rs.core.Variant variant)
- Specified by:
variant
in class javax.ws.rs.core.Response.ResponseBuilder
variants
public javax.ws.rs.core.Response.ResponseBuilder variants(List<javax.ws.rs.core.Variant> variants)
- Specified by:
variants
in class javax.ws.rs.core.Response.ResponseBuilder
clone
public javax.ws.rs.core.Response.ResponseBuilder clone()
- Overrides:
clone
in class javax.ws.rs.core.Response.ResponseBuilder
Apache CXF