public class ContentStoreServlet
extends javax.servlet.http.HttpServlet
Parameter Explanation Required
--------- ------------------------------------------------ --------
uri The URI of the content object, which must be of Yes
the form "x-ontopia:cms:XXX".
tmid The identifier of the topic map from which the Yes
CO has been referenced.
ctype The content-type to be given for the CO. Default No
is "application/octet-stream".
view Whether to tell browser to open in browser No
window or to download into file. Values:
true/false. Default is to download to file
(false).
filename The filename to suggest. Default is to suggest No
none.
| Constructor and Description |
|---|
ContentStoreServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected ContentStoreIF |
getContentStore(TopicMapIF tm,
javax.servlet.ServletContext ctxt) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionprotected ContentStoreIF getContentStore(TopicMapIF tm, javax.servlet.ServletContext ctxt) throws ContentStoreException
ContentStoreException