public class ViewProjectAvatarServlet extends AbstractAvatarServlet
| 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 Long |
validateInput(String projectId,
Long avatarId,
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, getOwnerId, handleOutputStreamingExceptiondoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected Long validateInput(String projectId, Long avatarId, javax.servlet.http.HttpServletResponse response) throws IOException
AbstractAvatarServletvalidateInput in class AbstractAvatarServletprojectId - The owner of the avataravatarId - The avatarId requestedresponse - The response to sendIOException - If there's an error updating the response objectprotected String getOwnerIdParamName()
AbstractAvatarServletgetOwnerIdParamName in class AbstractAvatarServletCopyright © 2002-2015 Atlassian. All Rights Reserved.