Apache CXF API

org.apache.cxf.jaxrs.impl
Class ResponseBuilderImpl

java.lang.Object
  extended by javax.ws.rs.core.Response.ResponseBuilder
      extended by org.apache.cxf.jaxrs.impl.ResponseBuilderImpl

public final class ResponseBuilderImpl
extends javax.ws.rs.core.Response.ResponseBuilder


Constructor Summary
ResponseBuilderImpl()
           
 
Method Summary
 javax.ws.rs.core.Response.ResponseBuilder allow(Set<String> arg0)
           
 javax.ws.rs.core.Response.ResponseBuilder allow(String... arg0)
           
 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 arg0)
           
 javax.ws.rs.core.Response.ResponseBuilder entity(Object e)
           
 javax.ws.rs.core.Response.ResponseBuilder entity(Object arg0, Annotation[] arg1)
           
 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 arg0, String arg1)
           
 javax.ws.rs.core.Response.ResponseBuilder link(URI arg0, String arg1)
           
 javax.ws.rs.core.Response.ResponseBuilder links(javax.ws.rs.core.Link... arg0)
           
 javax.ws.rs.core.Response.ResponseBuilder location(URI loc)
           
 javax.ws.rs.core.Response.ResponseBuilder replaceAll(javax.ws.rs.core.MultivaluedMap<String,Object> arg0)
           
 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)
           
 javax.ws.rs.core.Response.ResponseBuilder variants(javax.ws.rs.core.Variant... arg0)
           
 
Methods inherited from class javax.ws.rs.core.Response.ResponseBuilder
newInstance, status, status
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseBuilderImpl

public ResponseBuilderImpl()
Method Detail

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

allow

public javax.ws.rs.core.Response.ResponseBuilder allow(String... arg0)
Specified by:
allow in class javax.ws.rs.core.Response.ResponseBuilder

allow

public javax.ws.rs.core.Response.ResponseBuilder allow(Set<String> arg0)
Specified by:
allow in class javax.ws.rs.core.Response.ResponseBuilder

encoding

public javax.ws.rs.core.Response.ResponseBuilder encoding(String arg0)
Specified by:
encoding in class javax.ws.rs.core.Response.ResponseBuilder

entity

public javax.ws.rs.core.Response.ResponseBuilder entity(Object arg0,
                                                        Annotation[] arg1)
Specified by:
entity in class javax.ws.rs.core.Response.ResponseBuilder

link

public javax.ws.rs.core.Response.ResponseBuilder link(URI arg0,
                                                      String arg1)
Specified by:
link in class javax.ws.rs.core.Response.ResponseBuilder

link

public javax.ws.rs.core.Response.ResponseBuilder link(String arg0,
                                                      String arg1)
Specified by:
link in class javax.ws.rs.core.Response.ResponseBuilder

links

public javax.ws.rs.core.Response.ResponseBuilder links(javax.ws.rs.core.Link... arg0)
Specified by:
links in class javax.ws.rs.core.Response.ResponseBuilder

replaceAll

public javax.ws.rs.core.Response.ResponseBuilder replaceAll(javax.ws.rs.core.MultivaluedMap<String,Object> arg0)
Specified by:
replaceAll in class javax.ws.rs.core.Response.ResponseBuilder

variants

public javax.ws.rs.core.Response.ResponseBuilder variants(javax.ws.rs.core.Variant... arg0)
Specified by:
variants in class javax.ws.rs.core.Response.ResponseBuilder

Apache CXF API

Apache CXF