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, isFeatureEnableddoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected AbstractAvatarServlet.PreprocessedInput preprocessInput(String projectId, Long avatarId, Avatar.Size size, javax.servlet.http.HttpServletResponse response) throws IOException
AbstractAvatarServletpreprocessInput in class AbstractAvatarServletprojectId - 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()
AbstractAvatarServletgetOwnerIdParamName in class AbstractAvatarServletCopyright © 2002-2021 Atlassian. All Rights Reserved.