public class ViewProjectAvatarServlet extends AbstractAvatarServlet
AbstractAvatarServlet.PreprocessedInput
Constructor and Description |
---|
ViewProjectAvatarServlet() |
Modifier and Type | Method and Description |
---|---|
protected String |
getOwnerIdParamName()
Slight hack to stay backwards compatible for project avatars via the 'pid' param.
|
protected AbstractAvatarServlet.PreprocessedInput |
preprocessInput(String projectId,
Long avatarId,
Avatar.Size size,
javax.servlet.http.HttpServletResponse response)
Ensures the input is valid and if validation passes returns a valid avatarId
to serve.
|
avatarOkForOwner, defaultDoGet, doGet, getAvatarManager, getAvatarToStream, getFeatureManager, getOwnerId, handleOutputStreamingException, isFeatureEnabled
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
protected AbstractAvatarServlet.PreprocessedInput preprocessInput(String projectId, Long avatarId, Avatar.Size size, javax.servlet.http.HttpServletResponse response) throws IOException
AbstractAvatarServlet
preprocessInput
in class AbstractAvatarServlet
projectId
- The owner of the avataravatarId
- The avatarId requestedsize
- The size of requested avatarresponse
- The response to sendIOException
- If there's an error updating the response objectprotected String getOwnerIdParamName()
AbstractAvatarServlet
getOwnerIdParamName
in class AbstractAvatarServlet
Copyright © 2002-2022 Atlassian. All Rights Reserved.