|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.sibvisions.rad.server.http.ResourceServlet
com.sibvisions.rad.server.http.UploadServlet
public class UploadServlet
The UploadServlet
handles the upload of files via http
connection. A client is able transmit a file as octet stream.
stream.
Field Summary | |
---|---|
static java.lang.String |
PARAM_CLOSE
the URL parameter for closing the window. |
static java.lang.String |
PARAM_CONNECTION_ID
the URL parameter for the connection id. |
static java.lang.String |
PARAM_UPLOADBUTTON
the URL parameter for the upload button text. |
static java.lang.String |
PARAM_WAIT
the URL parameter for waiting and aborting. |
static java.lang.String |
PARAM_WEBSTART
the URL parameter for the webstart info. |
static java.lang.String |
UPLOADDIR
the directory which contains the resource files for the client. |
Fields inherited from class com.sibvisions.rad.server.http.ResourceServlet |
---|
PARAM_APPLICATION, PARAM_CANCELBUTTON, PARAM_CONURL, PARAM_INFOTEXT, PARAM_KEY, PARAM_RESOURCE, PARAM_TITLE |
Constructor Summary | |
---|---|
UploadServlet()
|
Method Summary | |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
|
void |
doPost(javax.servlet.http.HttpServletRequest pRequest,
javax.servlet.http.HttpServletResponse pResponse)
|
protected java.lang.String |
getResourceDirectoryName()
Gets the name of the resource directory. |
Methods inherited from class com.sibvisions.rad.server.http.ResourceServlet |
---|
getFileItemStream, getFileName, getRequestURI, sendFile |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doHead, doOptions, 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 |
Field Detail |
---|
public static final java.lang.String PARAM_WAIT
public static final java.lang.String PARAM_CLOSE
public static final java.lang.String PARAM_UPLOADBUTTON
public static final java.lang.String PARAM_WEBSTART
public static final java.lang.String PARAM_CONNECTION_ID
public static final java.lang.String UPLOADDIR
Constructor Detail |
---|
public UploadServlet()
Method Detail |
---|
protected java.lang.String getResourceDirectoryName()
getResourceDirectoryName
in class ResourceServlet
public void doGet(javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
public void doPost(javax.servlet.http.HttpServletRequest pRequest, javax.servlet.http.HttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |