com.cc.framework.resource
Class ResourceServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.cc.framework.resource.ResourceServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ResourceServlet
extends javax.servlet.http.HttpServlet

The resource servlet processes an URL an returns an registered resource in the ServletOutputStream. The ResourceServlet must be registered for the URL *.res in the web deployment descriptor of the application (web.xml). Note: Only binary resources are supported.

Since:
1.0
Version:
$Revision: 1.23 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private static org.apache.commons.logging.Log log
          Commons Logging instance.
private static long serialVersionUID
          Serial Version UID
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
Constructor Summary
ResourceServlet()
           
 
Method Summary
protected  void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

log

private static org.apache.commons.logging.Log log
Commons Logging instance.

Constructor Detail

ResourceServlet

public ResourceServlet()
Method Detail

service

protected void service(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws javax.servlet.ServletException,
                       java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.