Package org.apache.juneau.rest.converter
Class Traversable
java.lang.Object
org.apache.juneau.rest.converter.Traversable
- All Implemented Interfaces:
- RestConverter
Converter for enabling of @RestOp -annotated method.
 
ObjectRest support on response objects returned by a When enabled, objects in a POJO tree returned by the REST method can be addressed through additional URL path information.
   
See Also:
- ObjectRest- Additional information on addressing elements in a POJO tree using URL notation.
- RestOpContext.Builder.converters()- Registering converters with REST resources.
- Converters
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionconvert(RestRequest req, Object o) Performs post-call conversion on the specified response object.
- 
Constructor Details- 
Traversablepublic Traversable()
 
- 
- 
Method Details- 
convertDescription copied from interface:RestConverterPerforms post-call conversion on the specified response object.- Specified by:
- convertin interface- RestConverter
- Parameters:
- req- The servlet request.
- o- The response object set by the REST method through the- RestResponse.setContent(Object)method.
- Returns:
- The converted object.
- Throws:
- BasicHttpException- Thrown if any errors occur during conversion.
- InternalServerError
 
 
-