Class AbstractAvatarSupplier

java.lang.Object
com.atlassian.bitbucket.avatar.AbstractAvatarSupplier
All Implemented Interfaces:
AvatarSupplier, InputSupplier<InputStream>
Direct Known Subclasses:
SimpleAvatarSupplier

public abstract class AbstractAvatarSupplier extends Object implements AvatarSupplier
  • Constructor Details

    • AbstractAvatarSupplier

      protected AbstractAvatarSupplier()
    • AbstractAvatarSupplier

      protected AbstractAvatarSupplier(String contentType)
  • Method Details

    • getContentType

      public String getContentType()
      Description copied from interface: AvatarSupplier
      The content type of the avatar, e.g., "image/png"
      Specified by:
      getContentType in interface AvatarSupplier
      Returns:
      the string representing the content type