Package org.jupnp.http
Klasse Representation<E>
java.lang.Object
org.jupnp.http.Representation<E>
- Alle implementierten Schnittstellen:
Serializable
- Autor:
- Christian Bauer
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungRepresentation(URLConnection urlConnection, E entity) Representation(URL url, CacheControl cacheControl, Integer contentLength, String contentType, Long lastModified, String entityTag, E entity) Representation(CacheControl cacheControl, Integer contentLength, String contentType, Long lastModified, String entityTag, E entity) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetUrl()booleanhasBeenModified(long currentModificationTime) booleanhasEntityTagChanged(String currentEtag) booleanisExpired(long storedOn) booleanisExpired(long storedOn, long maxAge) booleanbooleanbooleantoString()
-
Konstruktordetails
-
Representation
-
Representation
-
Representation
-
-
Methodendetails
-
getUrl
-
getCacheControl
-
getContentLength
-
getContentType
-
getLastModified
-
getEntityTag
-
getEntity
-
getMaxAgeOrNull
-
isExpired
public boolean isExpired(long storedOn, long maxAge) -
isExpired
public boolean isExpired(long storedOn) -
isNoStore
public boolean isNoStore() -
isNoCache
public boolean isNoCache() -
mustRevalidate
public boolean mustRevalidate() -
hasEntityTagChanged
-
hasBeenModified
public boolean hasBeenModified(long currentModificationTime) -
toString
-