Class DownloadCountingSizeMetricsResponse
java.lang.Object
javax.ws.rs.core.Response
fr.gouv.vitam.common.client.VitamAutoClosableResponse
fr.gouv.vitam.storage.engine.common.metrics.DownloadCountingSizeMetricsResponse
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.ws.rs.core.Response
javax.ws.rs.core.Response.ResponseBuilder, javax.ws.rs.core.Response.Status, javax.ws.rs.core.Response.StatusType
-
Constructor Summary
ConstructorDescriptionDownloadCountingSizeMetricsResponse
(Integer tenant, String strategy, String offer, String origin, DataCategory dataCategory, javax.ws.rs.core.Response response) -
Method Summary
Modifier and TypeMethodDescription<T> T
readEntity
(Class<T> entityType) <T> T
readEntity
(Class<T> entityType, Annotation[] annotations) <T> T
readEntity
(javax.ws.rs.core.GenericType<T> entityType) <T> T
readEntity
(javax.ws.rs.core.GenericType<T> entityType, Annotation[] annotations) Methods inherited from class fr.gouv.vitam.common.client.VitamAutoClosableResponse
bufferEntity, close, getAllowedMethods, getCookies, getDate, getEntityTag, getHeaderString, getLanguage, getLastModified, getLength, getLink, getLinkBuilder, getLinks, getLocation, getMediaType, getMetadata, getStatus, getStatusInfo, getStringHeaders, hasEntity, hasLink
Methods inherited from class javax.ws.rs.core.Response
accepted, accepted, created, fromResponse, getHeaders, noContent, notAcceptable, notModified, notModified, notModified, ok, ok, ok, ok, ok, seeOther, serverError, status, status, status, status, temporaryRedirect
-
Constructor Details
-
DownloadCountingSizeMetricsResponse
public DownloadCountingSizeMetricsResponse(Integer tenant, String strategy, String offer, String origin, DataCategory dataCategory, javax.ws.rs.core.Response response)
-
-
Method Details
-
getEntity
- Overrides:
getEntity
in classVitamAutoClosableResponse
-
readEntity
- Overrides:
readEntity
in classVitamAutoClosableResponse
-
readEntity
public <T> T readEntity(javax.ws.rs.core.GenericType<T> entityType) - Overrides:
readEntity
in classVitamAutoClosableResponse
-
readEntity
- Overrides:
readEntity
in classVitamAutoClosableResponse
-
readEntity
- Overrides:
readEntity
in classVitamAutoClosableResponse
-