public abstract class AgentServerServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
protected static String |
APPLICATION_OCTET_STREAM |
protected com.google.common.base.Supplier<AgentClassServer> |
classServerServiceReference |
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 String |
getFingerprint(javax.servlet.http.HttpServletRequest request) |
protected boolean |
isFingerprintValid(String fingerprint) |
protected void |
verifyFingerPrintAndCalculateResult(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected static void |
writeClasspathToOutputStream(ClassServerManifest classServerManifest,
OutputStream outputStream) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected static final String APPLICATION_OCTET_STREAM
protected static final String PRODUCED_BY_ATLASSIAN_BAMBOO
protected final com.google.common.base.Supplier<AgentClassServer> classServerServiceReference
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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOExceptionprotected String getFingerprint(javax.servlet.http.HttpServletRequest request)
protected final boolean isFingerprintValid(String fingerprint)
@Nullable protected final AgentServerManager getAgentServerManager()
protected static void writeClasspathToOutputStream(@NotNull
ClassServerManifest classServerManifest,
@NotNull
OutputStream outputStream)
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 © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.