Package org.fcrepo.camel.reindexing
Class RestProcessor
java.lang.Object
org.fcrepo.camel.reindexing.RestProcessor
- All Implemented Interfaces:
org.apache.camel.Processor
A processor that converts the REST uri into the
identifying path for an fcrepo node.
This assumes that the `rest.prefix` value is stored
in the CamelFcrepoRestPrefix header.
- Author:
- Aaron Coburn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(org.apache.camel.Exchange exchange) Convert the incoming REST request into the correct Fcrepo header fields.
-
Constructor Details
-
RestProcessor
public RestProcessor()
-
-
Method Details
-
process
Convert the incoming REST request into the correct Fcrepo header fields.- Specified by:
processin interfaceorg.apache.camel.Processor- Parameters:
exchange- the current message exchange- Throws:
Exception
-