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:
java.lang.AutoCloseable
public class DownloadCountingSizeMetricsResponse extends VitamAutoClosableResponse
-
-
Constructor Summary
Constructors Constructor Description DownloadCountingSizeMetricsResponse(java.lang.Integer tenant, java.lang.String strategy, java.lang.String offer, java.lang.String origin, DataCategory dataCategory, javax.ws.rs.core.Response response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetEntity()<T> TreadEntity(java.lang.Class<T> entityType)<T> TreadEntity(java.lang.Class<T> entityType, java.lang.annotation.Annotation[] annotations)<T> TreadEntity(javax.ws.rs.core.GenericType<T> entityType)<T> TreadEntity(javax.ws.rs.core.GenericType<T> entityType, java.lang.annotation.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
-
-
-
-
Constructor Detail
-
DownloadCountingSizeMetricsResponse
public DownloadCountingSizeMetricsResponse(java.lang.Integer tenant, java.lang.String strategy, java.lang.String offer, java.lang.String origin, DataCategory dataCategory, javax.ws.rs.core.Response response)
-
-
Method Detail
-
getEntity
public java.lang.Object getEntity()
- Overrides:
getEntityin classVitamAutoClosableResponse
-
readEntity
public <T> T readEntity(java.lang.Class<T> entityType)
- Overrides:
readEntityin classVitamAutoClosableResponse
-
readEntity
public <T> T readEntity(javax.ws.rs.core.GenericType<T> entityType)
- Overrides:
readEntityin classVitamAutoClosableResponse
-
readEntity
public <T> T readEntity(java.lang.Class<T> entityType, java.lang.annotation.Annotation[] annotations)- Overrides:
readEntityin classVitamAutoClosableResponse
-
readEntity
public <T> T readEntity(javax.ws.rs.core.GenericType<T> entityType, java.lang.annotation.Annotation[] annotations)- Overrides:
readEntityin classVitamAutoClosableResponse
-
-