public abstract class AgentServerServlet extends BambooHttpServlet
Modifier and Type | Field and Description |
---|---|
protected static String |
APPLICATION_OCTET_STREAM |
protected AgentClassServer |
classServerService |
protected static String |
PRODUCED_BY_ATLASSIAN_BAMBOO |
Constructor and Description |
---|
AgentServerServlet() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
calculateResult(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected static Map<String,String> |
collapseParamMapToStringMap(javax.servlet.http.HttpServletRequest request) |
protected void |
copyToResponse(javax.servlet.http.HttpServletResponse httpServletResponse,
int contentLength,
String contentType,
InputStream in) |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected AgentServerManager |
getAgentServerManager() |
protected static Set<FileHashDescriptor> |
getFileHashDescriptors(javax.servlet.http.HttpServletRequest request) |
protected void |
verifyFingerPrintAndCalculateResult(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
writeClasspathToOutputStream(ClassServerManifest classServerManifest,
OutputStream outputStream,
String source) |
init
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected static final String APPLICATION_OCTET_STREAM
protected static final String PRODUCED_BY_ATLASSIAN_BAMBOO
@Autowired protected AgentClassServer classServerService
protected final void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
doGet
in class javax.servlet.http.HttpServlet
IOException
protected final void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected abstract void calculateResult(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
protected final void verifyFingerPrintAndCalculateResult(@NotNull javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
@Nullable protected final AgentServerManager getAgentServerManager()
protected void writeClasspathToOutputStream(@NotNull ClassServerManifest classServerManifest, @NotNull OutputStream outputStream, String source) throws IOException
IOException
protected static Map<String,String> collapseParamMapToStringMap(javax.servlet.http.HttpServletRequest request)
protected static Set<FileHashDescriptor> getFileHashDescriptors(javax.servlet.http.HttpServletRequest request)
protected void copyToResponse(javax.servlet.http.HttpServletResponse httpServletResponse, int contentLength, String contentType, InputStream in) throws IOException
IOException
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.