| com.atlassian.bitbucket.avatar.AvatarService |
Provides URLs from which avatar images can be retrieved.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the maximum size, in bytes, for uploaded avatars.
| |||||||||||
Retrieves a URL referencing an avatar for the provided
person. | |||||||||||
Retrieves a URL referencing an avatar for the provided
project. | |||||||||||
Retrieves the maximum size, in bytes, for uploaded avatars. Avatars larger than this will be rejected by the server.
Retrieves a URL referencing an avatar for the provided person.
Implementations of this interface shall not return null. If no avatar is available for the
provided person, the URL of a default avatar is returned.
| person | the person whose avatar is being requested |
|---|---|
| request | a request describing the avatar being requested |
person
Retrieves a URL referencing an avatar for the provided project.
Implementations of this interface shall not return null. If no avatar is available for the
provided project, the URL of a default avatar is returned. The default avatar for a project will
be randomly assigned, but will be stable once set.
| project | the project whose avatar is being requested |
|---|---|
| request | a request describing the avatar being requested |
project