Interface OperationResponseBody

All Known Implementing Classes:
AuditEventsEndpoint.AuditEventsDescriptor, BeansEndpoint.BeansDescriptor, CachesEndpoint.CacheDescriptor, CachesEndpoint.CacheEntryDescriptor, CachesEndpoint.CachesDescriptor, CompositeHealth, ConditionsReportEndpoint.ConditionsDescriptor, ConfigurationPropertiesReportEndpoint.ConfigurationPropertiesDescriptor, EnvironmentEndpoint.EnvironmentDescriptor, FlywayEndpoint.FlywayBeansDescriptor, Health, HealthComponent, HttpExchangesEndpoint.HttpExchangesDescriptor, IntegrationGraphEndpoint.GraphDescriptor, LiquibaseEndpoint.LiquibaseBeansDescriptor, LoggersEndpoint.GroupLoggerLevelsDescriptor, LoggersEndpoint.LoggerLevelsDescriptor, LoggersEndpoint.LoggersDescriptor, LoggersEndpoint.SingleLoggerLevelsDescriptor, MappingsEndpoint.ApplicationMappingsDescriptor, MetricsEndpoint.MetricDescriptor, MetricsEndpoint.MetricNamesDescriptor, QuartzEndpoint.QuartzDescriptor, QuartzEndpoint.QuartzGroupsDescriptor, QuartzEndpoint.QuartzJobDetailsDescriptor, QuartzEndpoint.QuartzJobGroupSummaryDescriptor, QuartzEndpoint.QuartzTriggerGroupSummaryDescriptor, ScheduledTasksEndpoint.ScheduledTasksDescriptor, SessionsEndpoint.SessionDescriptor, SessionsEndpoint.SessionsDescriptor, ShutdownEndpoint.ShutdownDescriptor, StartupEndpoint.StartupDescriptor, SystemHealth, ThreadDumpEndpoint.ThreadDumpDescriptor

public interface OperationResponseBody
Tagging interface used to indicate that an operation result is intended to be returned in the body of the response. Primarily intended to support JSON serialization using an endpoint specific ObjectMapper.
Since:
3.0.0
Author:
Phillip Webb
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static <K, V> Map<K,V>
    of(Map<K,V> map)
    Return a OperationResponseBody Map instance containing entries from the given map.
  • Method Details

    • of

      static <K, V> Map<K,V> of(Map<K,V> map)
      Return a OperationResponseBody Map instance containing entries from the given map.
      Type Parameters:
      K - the key type
      V - the value type
      Parameters:
      map - the source map or null
      Returns:
      a OperationResponseBody version of the map or null