Package jenkins.scm.impl.avatars
Class UrlAvatarCacheSource
java.lang.Object
jenkins.scm.impl.avatars.UrlAvatarCacheSource
- All Implemented Interfaces:
- AvatarImageSource
Basic URL based Cache Source - Fetches Image from HTTP/HTTPS URL without authentication
- 
Constructor Details- 
UrlAvatarCacheSource
 
- 
- 
Method Details- 
canFetchpublic boolean canFetch()CHeck if we can fetch. Only HTTP/HTTPS urls are supported- Specified by:
- canFetchin interface- AvatarImageSource
- Returns:
- true if can fetch
 
- 
fetchFetch image and return along with lastModified- Specified by:
- fetchin interface- AvatarImageSource
- Returns:
- image as AvatarImage object
 
- 
getIdGenerate hash key used for caching- Specified by:
- getIdin interface- AvatarImageSource
 
 
-