@ Override public Asset getAsset ( final String assetId ) throws IOException , BadVersionException , RequestFailureException { HttpURLConnection connection = createHttpURLConnectionToMassive ( "/assets/" + assetId ) ; connection . setRequestMethod ( "GET" ) ; testResponseCode ( connection ) ; return JSONAssetConverter . readValue ( connection . getInputStream ( ) ) ; }
Gets a single asset