public class ArtifactDownloadServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
ArtifactDownloadServlet()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDownloadContent(javax.servlet.http.HttpServletResponse httpResponse,
org.overlord.sramp.client.SrampAtomApiClient client,
org.overlord.sramp.common.ArtifactType artyType,
org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType artifact)
Downloads the content of the artifact.
|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionHttpServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)protected void doDownloadContent(javax.servlet.http.HttpServletResponse httpResponse,
org.overlord.sramp.client.SrampAtomApiClient client,
org.overlord.sramp.common.ArtifactType artyType,
org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType artifact)
throws Exception
httpResponse - client - artyType - artifact - ExceptionCopyright © 2012-2013 JBoss, a division of Red Hat. All Rights Reserved.