|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fcrepo.server.rest.BaseRestResource
org.fcrepo.server.rest.DescribeRepositoryResource
@Component public class DescribeRepositoryResource
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 |
DescribeRepositoryResource.HtmlTransformation
|
class |
DescribeRepositoryResource.ReposInfoSerializer
Serializes RepositoryInfo object into XML. |
| Nested classes/interfaces inherited from interface org.fcrepo.common.Constants |
|---|
Constants.FedoraHome |
| Field Summary |
|---|
| Fields inherited from class org.fcrepo.server.rest.BaseRestResource |
|---|
APP_ZIP, FORM, HTML, m_access, m_datastreamFilenameHelper, m_headers, m_hostname, m_management, m_mapper, m_server, m_servletRequest, m_uriInfo, TEXT_HTML, TEXT_XML, VALID_PID_PART, XML, ZIP |
| Constructor Summary | |
|---|---|
DescribeRepositoryResource(Server server)
|
|
| Method Summary | |
|---|---|
javax.ws.rs.core.Response |
describe(boolean xml)
Process Fedora Access Request. |
javax.ws.rs.core.Response |
describeRepository(Context context,
boolean xml)
|
javax.ws.rs.core.Response |
postDescribe(boolean xml)
|
| Methods inherited from class org.fcrepo.server.rest.BaseRestResource |
|---|
buildResponse, getContext, getSerializer, handleException, transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DescribeRepositoryResource(Server server)
| Method Detail |
|---|
public javax.ws.rs.core.Response describe(boolean xml)
throws javax.servlet.ServletException,
IOException
Process Fedora Access Request. Parse and validate the servlet input parameters and then execute the specified request.
request - 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 occurs with an input or output operation.
public javax.ws.rs.core.Response postDescribe(boolean xml)
throws javax.servlet.ServletException,
IOException
javax.servlet.ServletException
IOException
public javax.ws.rs.core.Response describeRepository(Context context,
boolean xml)
throws ServerException
ServerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||