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
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) protected voiddoPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) protected FilegetArtifactStorageDirectory(@NotNull ResultKey resultKey, @NotNull ImmutableArtifactDefinitionBase artifact) protected voidstoreArtifact(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) Methods inherited from class com.atlassian.bamboo.agent.messaging.TokenVerificationServlet
getArtifactDescription, isFingerprintAndTokenValid, isUploadRequestValidMethods inherited from class com.atlassian.bamboo.servlet.BambooHttpServlet
initMethods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doTrace, getLastModified, service, serviceMethods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
ArtifactServlet
public ArtifactServlet()
-
-
Method Details
-
doPut
protected void doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException - Overrides:
doPutin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionIOException
-
doPost
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException - Overrides:
doPostin 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)
-