Class LoggingDeprecationHandler

  • All Implemented Interfaces:

    public class LoggingDeprecationHandler
    extends java.lang.Object
    implements DeprecationHandler
    Logs deprecations to the DeprecationLogger.

    This is core's primary implementation of DeprecationHandler and should absolutely be used everywhere where it parses requests. It is much less appropriate when parsing responses from external sources because it will report deprecated fields back to the user as though the user sent them.

    • Method Summary

      Modifier and Type Method Description
      void usedDeprecatedField​(java.lang.String usedName, java.lang.String replacedWith)  
      void usedDeprecatedName​(java.lang.String usedName, java.lang.String modernName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait