org.wso2.carbon.registry.app
Class ResourceServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.wso2.carbon.registry.app.ResourceServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ResourceServlet
extends javax.servlet.http.HttpServlet

Implementation of a servlet to handle requests having /registry/resource/. This will provide the raw resource so that it could be accessed as via a valid URL.

See Also:
Serialized Form

Constructor Summary
ResourceServlet()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Logic that will be executed for a get request.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, 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
 

Constructor Detail

ResourceServlet

public ResourceServlet()
Method Detail

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws IOException
Logic that will be executed for a get request.

Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
request - the HTTP Servlet request.
response - the HTTP Servlet response.
Throws:
IOException - if an error occurred.


Copyright © 2012 WSO2 Inc. All Rights Reserved.