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.Object
getEntity()
<T> T
readEntity(java.lang.Class<T> entityType)
<T> T
readEntity(java.lang.Class<T> entityType, java.lang.annotation.Annotation[] annotations)
<T> T
readEntity(javax.ws.rs.core.GenericType<T> entityType)
<T> T
readEntity(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:
getEntity
in classVitamAutoClosableResponse
-
readEntity
public <T> T readEntity(java.lang.Class<T> entityType)
- Overrides:
readEntity
in classVitamAutoClosableResponse
-
readEntity
public <T> T readEntity(javax.ws.rs.core.GenericType<T> entityType)
- Overrides:
readEntity
in classVitamAutoClosableResponse
-
readEntity
public <T> T readEntity(java.lang.Class<T> entityType, java.lang.annotation.Annotation[] annotations)
- Overrides:
readEntity
in classVitamAutoClosableResponse
-
readEntity
public <T> T readEntity(javax.ws.rs.core.GenericType<T> entityType, java.lang.annotation.Annotation[] annotations)
- Overrides:
readEntity
in classVitamAutoClosableResponse
-
-