Class OkResponse
java.lang.Object
jakarta.ws.rs.core.Response
ee.jakarta.tck.ws.rs.spec.provider.writer.OkResponse
- All Implemented Interfaces:
AutoCloseable
public class OkResponse
extends jakarta.ws.rs.core.Response
-
Nested Class Summary
Nested classes/interfaces inherited from class jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response.ResponseBuilder, jakarta.ws.rs.core.Response.Status, jakarta.ws.rs.core.Response.StatusType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
close()
getDate()
jakarta.ws.rs.core.EntityTag
getHeaderString
(String arg0) int
jakarta.ws.rs.core.Link
jakarta.ws.rs.core.Link.Builder
getLinkBuilder
(String arg0) Set<jakarta.ws.rs.core.Link>
getLinks()
jakarta.ws.rs.core.MediaType
int
jakarta.ws.rs.core.Response.StatusType
boolean
boolean
<T> T
readEntity
(jakarta.ws.rs.core.GenericType<T> arg0) <T> T
readEntity
(jakarta.ws.rs.core.GenericType<T> arg0, Annotation[] arg1) <T> T
readEntity
(Class<T> arg0) <T> T
readEntity
(Class<T> arg0, Annotation[] arg1) Methods inherited from class jakarta.ws.rs.core.Response
accepted, accepted, created, fromResponse, getHeaders, isClosed, noContent, notAcceptable, notModified, notModified, notModified, ok, ok, ok, ok, ok, seeOther, serverError, status, status, status, status, temporaryRedirect
-
Constructor Details
-
OkResponse
-
-
Method Details
-
getEntity
- Specified by:
getEntity
in classjakarta.ws.rs.core.Response
-
getStatus
public int getStatus()- Specified by:
getStatus
in classjakarta.ws.rs.core.Response
-
getMetadata
- Specified by:
getMetadata
in classjakarta.ws.rs.core.Response
-
hasEntity
public boolean hasEntity()- Specified by:
hasEntity
in classjakarta.ws.rs.core.Response
-
getAllowedMethods
- Specified by:
getAllowedMethods
in classjakarta.ws.rs.core.Response
-
getCookies
- Specified by:
getCookies
in classjakarta.ws.rs.core.Response
-
getDate
- Specified by:
getDate
in classjakarta.ws.rs.core.Response
-
getEntityTag
public jakarta.ws.rs.core.EntityTag getEntityTag()- Specified by:
getEntityTag
in classjakarta.ws.rs.core.Response
-
getHeaderString
- Specified by:
getHeaderString
in classjakarta.ws.rs.core.Response
-
getLanguage
- Specified by:
getLanguage
in classjakarta.ws.rs.core.Response
-
getLastModified
- Specified by:
getLastModified
in classjakarta.ws.rs.core.Response
-
getLength
public int getLength()- Specified by:
getLength
in classjakarta.ws.rs.core.Response
-
getLink
- Specified by:
getLink
in classjakarta.ws.rs.core.Response
-
getLinkBuilder
- Specified by:
getLinkBuilder
in classjakarta.ws.rs.core.Response
-
getLinks
- Specified by:
getLinks
in classjakarta.ws.rs.core.Response
-
getLocation
- Specified by:
getLocation
in classjakarta.ws.rs.core.Response
-
getMediaType
public jakarta.ws.rs.core.MediaType getMediaType()- Specified by:
getMediaType
in classjakarta.ws.rs.core.Response
-
getStatusInfo
public jakarta.ws.rs.core.Response.StatusType getStatusInfo()- Specified by:
getStatusInfo
in classjakarta.ws.rs.core.Response
-
hasLink
- Specified by:
hasLink
in classjakarta.ws.rs.core.Response
-
bufferEntity
public boolean bufferEntity()- Specified by:
bufferEntity
in classjakarta.ws.rs.core.Response
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classjakarta.ws.rs.core.Response
-
readEntity
- Specified by:
readEntity
in classjakarta.ws.rs.core.Response
- Throws:
IllegalStateException
-
readEntity
- Specified by:
readEntity
in classjakarta.ws.rs.core.Response
- Throws:
IllegalStateException
-
readEntity
- Specified by:
readEntity
in classjakarta.ws.rs.core.Response
- Throws:
IllegalStateException
-
readEntity
public <T> T readEntity(jakarta.ws.rs.core.GenericType<T> arg0, Annotation[] arg1) throws IllegalStateException - Specified by:
readEntity
in classjakarta.ws.rs.core.Response
- Throws:
IllegalStateException
-
getStringHeaders
- Specified by:
getStringHeaders
in classjakarta.ws.rs.core.Response
-