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 @Nullable AgentServerManager |
getAgentServerManager() |
protected static Set<FileHashDescriptor> |
getFileHashDescriptors(javax.servlet.http.HttpServletRequest request) |
protected void |
verifyFingerPrintAndCalculateResult(@NotNull javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
writeClasspathToOutputStream(@NotNull ClassServerManifest classServerManifest,
@NotNull OutputStream outputStream,
String source) |
initdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected 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.HttpServletIOExceptionprotected final void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected abstract void calculateResult(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionprotected final void verifyFingerPrintAndCalculateResult(@NotNull
@NotNull javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@Nullable protected final @Nullable AgentServerManager getAgentServerManager()
protected void writeClasspathToOutputStream(@NotNull
@NotNull ClassServerManifest classServerManifest,
@NotNull
@NotNull OutputStream outputStream,
String source)
throws IOException
IOExceptionprotected 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
IOExceptionCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.