org.wso2.registry.servlet
Class RegistryServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.wso2.registry.servlet.RegistryServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class RegistryServlet
- extends javax.servlet.http.HttpServlet
Servlet for providing REST API for the registry.
- See Also:
- Serialized Form
Field Summary |
protected javax.servlet.ServletConfig |
servletConfig
|
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
doPost(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
void |
init()
|
void |
init(javax.servlet.ServletConfig config)
|
void |
initContextRoot(javax.servlet.http.HttpServletRequest req)
To find the name of the war , so getting that from the request context path |
protected void |
renderView(java.lang.String jspName,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
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, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
servletConfig
protected transient javax.servlet.ServletConfig servletConfig
RegistryServlet
public RegistryServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Servlet
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
init
public void init()
throws javax.servlet.ServletException
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
doPost
protected void doPost(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
initContextRoot
public void initContextRoot(javax.servlet.http.HttpServletRequest req)
- To find the name of the war , so getting that from the request context path
- Parameters:
req
- : HttpServletRequest
renderView
protected void renderView(java.lang.String jspName,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException
Copyright © 2007 Apache Web Services Project. All Rights Reserved.