com.wewebu.ow.server.servlets
Class OwGetPropertyContent
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.wewebu.ow.server.servlets.OwGetPropertyContent
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class OwGetPropertyContent
- extends javax.servlet.http.HttpServlet
Servlet that download content from binary object properties.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
|
protected void |
doPost(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
|
void |
init()
Initializes the servlet. |
protected void |
processRequest(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
Request processing method. |
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, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwGetPropertyContent
public OwGetPropertyContent()
init
public void init()
throws javax.servlet.ServletException
- Initializes the servlet.
Reads default resource initialization parameters
into
m_defaultResource
and m_defaultResourceContentType
.
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
throws javax.servlet.ServletException,
IOException
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
throws javax.servlet.ServletException,
IOException
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
processRequest
protected void processRequest(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
throws javax.servlet.ServletException,
IOException
- Request processing method.
Accesses the object requested through the request attribute defined by
OwMimeManager.DMSID_KEY
Accesses the requested objects property defined by OwMimeManager.CONTENT_PROPERTY_KEY
The byte arrayed value of this property is served as response.
If the operation fails processWithDefaultResource(HttpServletRequest, HttpServletResponse)
is attempted.
- Parameters:
request_p
- response_p
-
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.