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
| Constructor and Description |
|---|
OwGetPropertyContent() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void init()
throws javax.servlet.ServletException
m_defaultResource and m_defaultResourceContentType.init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void doGet(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void processRequest(javax.servlet.http.HttpServletRequest request_p,
javax.servlet.http.HttpServletResponse response_p)
throws javax.servlet.ServletException,
IOException
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.request_p - response_p - javax.servlet.ServletExceptionIOExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.