public abstract class AbstractUploadServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
AbstractUploadServlet()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected File |
stashResourceContent(InputStream resourceInputStream)
Make a temporary copy of the resource by saving the content to a temp file.
|
protected static void |
writeToResponse(Map<String,String> responseMap,
javax.servlet.http.HttpServletResponse response)
Writes the response values back to the http response.
|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected File stashResourceContent(InputStream resourceInputStream) throws IOException
resourceInputStream - IOExceptionprotected static void writeToResponse(Map<String,String> responseMap, javax.servlet.http.HttpServletResponse response) throws IOException
responseMap - the response params to write to the http responseresponse - the http responseIOExceptionCopyright © 2011-2014 JBoss, a division of Red Hat. All Rights Reserved.