Class ArtifactServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.atlassian.bamboo.servlet.BambooHttpServlet
-
- com.atlassian.bamboo.agent.messaging.TokenVerificationServlet
-
- com.atlassian.bamboo.agent.messaging.ArtifactServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class ArtifactServlet extends TokenVerificationServlet
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArtifactServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
protected void
doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
protected File
getArtifactStorageDirectory(@NotNull ResultKey resultKey, @NotNull ImmutableArtifactDefinitionBase artifact)
protected void
storeArtifact(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
-
Methods inherited from class com.atlassian.bamboo.agent.messaging.TokenVerificationServlet
getArtifactDescription, isFingerprintAndTokenValid, isUploadRequestValid
-
Methods inherited from class com.atlassian.bamboo.servlet.BambooHttpServlet
init
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
doPut
protected void doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
- Overrides:
doPut
in classjavax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
- Overrides:
doPost
in classTokenVerificationServlet
- Throws:
IOException
-
storeArtifact
protected void storeArtifact(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
- Throws:
IOException
-
getArtifactStorageDirectory
protected File getArtifactStorageDirectory(@NotNull @NotNull ResultKey resultKey, @NotNull @NotNull ImmutableArtifactDefinitionBase artifact)
-
-