|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.fcrepo.server.access.DescribeRepositoryServlet
public class DescribeRepositoryServlet
Implements the "describeRepository" functionality of the Fedora Access LITE (API-A-LITE) interface using a java servlet front end. The syntax defined by API-A-LITE has for getting a description of the repository has the following binding:
| Nested Class Summary | |
|---|---|
class |
DescribeRepositoryServlet.ReposInfoSerializerThread
A Thread to serialize an ObjectProfile object into XML. |
| Nested classes/interfaces inherited from interface org.fcrepo.common.Constants |
|---|
Constants.FedoraHome |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
DescribeRepositoryServlet()
|
|
| Method Summary | |
|---|---|
void |
describeRepository(Context context,
boolean xml,
javax.servlet.http.HttpServletResponse response)
|
void |
destroy()
Cleans up servlet resources. |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process Fedora Access Request. |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
For now, treat a HTTP POST request just like a GET request. |
void |
init()
Initialize servlet. |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
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 |
| Constructor Detail |
|---|
public DescribeRepositoryServlet()
| Method Detail |
|---|
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
Process Fedora Access Request. Parse and validate the servlet input parameters and then execute the specified request.
doGet in class javax.servlet.http.HttpServletrequest - The servlet request.response - servlet The servlet response.
javax.servlet.ServletException - If an error occurs that effects the servlet's basic operation.
IOException - If an error occurrs with an input or output operation.
public void describeRepository(Context context,
boolean xml,
javax.servlet.http.HttpServletResponse response)
throws ServerException
ServerException
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
For now, treat a HTTP POST request just like a GET request.
doPost in class javax.servlet.http.HttpServletrequest - The servet request.response - The servlet response.
javax.servlet.ServletException - If thrown by doGet.
IOException - If thrown by doGet.
public void init()
throws javax.servlet.ServletException
Initialize servlet.
init in class javax.servlet.GenericServletjavax.servlet.ServletException - If the servet cannot be initialized.public void destroy()
Cleans up servlet resources.
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||