Class ContainerResponseContextImpl
- java.lang.Object
-
- org.jboss.resteasy.reactive.server.jaxrs.ContainerResponseContextImpl
-
- All Implemented Interfaces:
jakarta.ws.rs.container.ContainerResponseContext
public class ContainerResponseContextImpl extends Object implements jakarta.ws.rs.container.ContainerResponseContext
-
-
Constructor Summary
Constructors Constructor Description ContainerResponseContextImpl(ResteasyReactiveRequestContext requestContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getAllowedMethods()
Map<String,jakarta.ws.rs.core.NewCookie>
getCookies()
Date
getDate()
Object
getEntity()
Annotation[]
getEntityAnnotations()
Class<?>
getEntityClass()
OutputStream
getEntityStream()
jakarta.ws.rs.core.EntityTag
getEntityTag()
Type
getEntityType()
jakarta.ws.rs.core.MultivaluedMap<String,Object>
getHeaders()
String
getHeaderString(String name)
Locale
getLanguage()
Date
getLastModified()
int
getLength()
jakarta.ws.rs.core.Link
getLink(String relation)
jakarta.ws.rs.core.Link.Builder
getLinkBuilder(String relation)
Set<jakarta.ws.rs.core.Link>
getLinks()
URI
getLocation()
jakarta.ws.rs.core.MediaType
getMediaType()
int
getStatus()
jakarta.ws.rs.core.Response.StatusType
getStatusInfo()
jakarta.ws.rs.core.MultivaluedMap<String,String>
getStringHeaders()
boolean
hasEntity()
boolean
hasLink(String relation)
protected jakarta.ws.rs.core.Response
response()
void
setEntity(Object entity)
void
setEntity(Object entity, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
void
setEntityStream(OutputStream outputStream)
void
setStatus(int code)
void
setStatusInfo(jakarta.ws.rs.core.Response.StatusType statusInfo)
-
-
-
Constructor Detail
-
ContainerResponseContextImpl
public ContainerResponseContextImpl(ResteasyReactiveRequestContext requestContext)
-
-
Method Detail
-
getStatus
public int getStatus()
- Specified by:
getStatus
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
response
protected jakarta.ws.rs.core.Response response()
-
setStatus
public void setStatus(int code)
- Specified by:
setStatus
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getStatusInfo
public jakarta.ws.rs.core.Response.StatusType getStatusInfo()
- Specified by:
getStatusInfo
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
setStatusInfo
public void setStatusInfo(jakarta.ws.rs.core.Response.StatusType statusInfo)
- Specified by:
setStatusInfo
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getHeaders
public jakarta.ws.rs.core.MultivaluedMap<String,Object> getHeaders()
- Specified by:
getHeaders
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getStringHeaders
public jakarta.ws.rs.core.MultivaluedMap<String,String> getStringHeaders()
- Specified by:
getStringHeaders
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getHeaderString
public String getHeaderString(String name)
- Specified by:
getHeaderString
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getAllowedMethods
public Set<String> getAllowedMethods()
- Specified by:
getAllowedMethods
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getDate
public Date getDate()
- Specified by:
getDate
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getLanguage
public Locale getLanguage()
- Specified by:
getLanguage
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getLength
public int getLength()
- Specified by:
getLength
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getMediaType
public jakarta.ws.rs.core.MediaType getMediaType()
- Specified by:
getMediaType
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getCookies
public Map<String,jakarta.ws.rs.core.NewCookie> getCookies()
- Specified by:
getCookies
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getEntityTag
public jakarta.ws.rs.core.EntityTag getEntityTag()
- Specified by:
getEntityTag
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getLastModified
public Date getLastModified()
- Specified by:
getLastModified
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getLocation
public URI getLocation()
- Specified by:
getLocation
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getLinks
public Set<jakarta.ws.rs.core.Link> getLinks()
- Specified by:
getLinks
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
hasLink
public boolean hasLink(String relation)
- Specified by:
hasLink
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getLink
public jakarta.ws.rs.core.Link getLink(String relation)
- Specified by:
getLink
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getLinkBuilder
public jakarta.ws.rs.core.Link.Builder getLinkBuilder(String relation)
- Specified by:
getLinkBuilder
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
hasEntity
public boolean hasEntity()
- Specified by:
hasEntity
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getEntity
public Object getEntity()
- Specified by:
getEntity
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getEntityClass
public Class<?> getEntityClass()
- Specified by:
getEntityClass
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getEntityType
public Type getEntityType()
- Specified by:
getEntityType
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
setEntity
public void setEntity(Object entity)
- Specified by:
setEntity
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
setEntity
public void setEntity(Object entity, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
- Specified by:
setEntity
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getEntityAnnotations
public Annotation[] getEntityAnnotations()
- Specified by:
getEntityAnnotations
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
getEntityStream
public OutputStream getEntityStream()
- Specified by:
getEntityStream
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
setEntityStream
public void setEntityStream(OutputStream outputStream)
- Specified by:
setEntityStream
in interfacejakarta.ws.rs.container.ContainerResponseContext
-
-