接口 OperationResponseBody

所有已知实现类:
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, 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.
从以下版本开始:
3.0.0
作者:
Phillip Webb
  • 方法概要

    静态方法
    修饰符和类型
    方法
    说明
    static <K, V> Map<K,V>
    of(Map<K,V> map)
    Return a OperationResponseBody Map instance containing entries from the given map.
  • 方法详细资料

    • of

      static <K, V> Map<K,V> of(Map<K,V> map)
      Return a OperationResponseBody Map instance containing entries from the given map.
      类型参数:
      K - the key type
      V - the value type
      参数:
      map - the source map or null
      返回:
      a OperationResponseBody version of the map or null