Package com.artipie.npm.proxy.model
Class NpmAsset.Metadata
- java.lang.Object
-
- com.artipie.npm.proxy.model.NpmAsset.Metadata
-
-
Constructor Summary
Constructors Constructor Description Metadata(io.vertx.core.json.JsonObject json)
Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
contentType()
Get original content type.io.vertx.core.json.JsonObject
json()
Get JSON representation of metadata.String
lastModified()
Get last modified date.
-
-
-
Method Detail
-
lastModified
public String lastModified()
Get last modified date.- Returns:
- Last modified date
-
contentType
public String contentType()
Get original content type.- Returns:
- Original content type
-
json
public io.vertx.core.json.JsonObject json()
Get JSON representation of metadata.- Returns:
- JSON representation
-
-