Class Introspectable

java.lang.Object
org.apache.juneau.rest.converter.Introspectable
All Implemented Interfaces:
RestConverter

public final class Introspectable extends Object implements RestConverter
Converter for enablement of ObjectIntrospector support on response objects returned by a @RestOp-annotated method.

When enabled, public methods can be called on objects returned through the RestResponse.setContent(Object) method.

Note that opening up public methods for calling through a REST interface can be dangerous, and should be done with caution.

Java methods are invoked by passing in the following URL parameters:

  • &invokeMethod - The Java method name, optionally with arguments if necessary to differentiate between methods.
  • &invokeArgs - The arguments as an array.
See Also: