com.atlassian.bamboo.agent.classserver
Class GetResourceServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.atlassian.bamboo.agent.classserver.AgentServerServlet
              extended by com.atlassian.bamboo.agent.classserver.GetResourceServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class GetResourceServlet
extends AgentServerServlet

This servlet is used for bootstrap upgrades / UpgradeRemoteAgent. It must be locked down to the minimum set of classes required for the upgrade. This typically means Logger-related classes and the classes performing the actual bootstrap upgrade.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.bamboo.agent.classserver.AgentServerServlet
APPLICATION_OCTET_STREAM, classServerServiceReference, PRODUCED_BY_ATLASSIAN_BAMBOO
 
Constructor Summary
GetResourceServlet()
           
 
Method Summary
protected  void calculateResult(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
           
 
Methods inherited from class com.atlassian.bamboo.agent.classserver.AgentServerServlet
collapseParamMapToStringMap, copyToResponse, doGet, doPost, getAgentServerManager, getFileHashDescriptors, getFingerprint, isFingerprintValid, verifyFingerPrintAndCalculateResult, writeClasspathToOutputStream
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetResourceServlet

public GetResourceServlet()
Method Detail

calculateResult

protected void calculateResult(javax.servlet.http.HttpServletRequest httpServletRequest,
                               javax.servlet.http.HttpServletResponse httpServletResponse)
                        throws java.io.IOException
Specified by:
calculateResult in class AgentServerServlet
Throws:
java.io.IOException


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.