Interface ResourceClassProcessor


public interface ResourceClassProcessor
SPI which allows implementations to modify the resource metadata discovered by RESTEasy.
Author:
Christian Kaltepoth
  • Method Summary

    Modifier and Type
    Method
    Description
    Allows the implementation of this method to modify the resource metadata represented by the supplied ResourceClass instance.
  • Method Details

    • process

      ResourceClass process(ResourceClass clazz)
      Allows the implementation of this method to modify the resource metadata represented by the supplied ResourceClass instance. Implementation will typically create wrappers which modify only certain aspects of the metadata.
      Parameters:
      clazz - The original metadata
      Returns:
      the (potentially modified) metadata (never null)