com.atlassian.bamboo.agent.classserver
Class AgentServerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.atlassian.bamboo.agent.classserver.AgentServerServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- GetJarServlet, GetPackageServlet, GetResourceServlet, GetResourcesServlet, ResolveURLServlet
public abstract class AgentServerServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
Method Summary |
protected abstract void |
calculateResult(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
protected void |
copyToResponse(javax.servlet.http.HttpServletResponse httpServletResponse,
int contentLength,
java.lang.String contentType,
java.io.InputStream in)
|
protected void |
doGet(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
protected AgentServerManager |
getAgentServerManager()
|
protected boolean |
isFingerprintValid(java.lang.String fingerprint)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, 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 |
APPLICATION_OCTET_STREAM
protected static final java.lang.String APPLICATION_OCTET_STREAM
- See Also:
- Constant Field Values
AgentServerServlet
public AgentServerServlet()
doGet
protected final void doGet(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws java.io.IOException
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
java.io.IOException
calculateResult
protected abstract void calculateResult(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
isFingerprintValid
protected boolean isFingerprintValid(java.lang.String fingerprint)
getAgentServerManager
@Nullable
protected AgentServerManager getAgentServerManager()
copyToResponse
protected void copyToResponse(javax.servlet.http.HttpServletResponse httpServletResponse,
int contentLength,
java.lang.String contentType,
java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010 Atlassian. All Rights Reserved.