Class EndpointConfigBase<THIS extends EndpointConfigBase<THIS>>

java.lang.Object
tools.jackson.jakarta.rs.cfg.EndpointConfigBase<THIS>

public abstract class EndpointConfigBase<THIS extends EndpointConfigBase<THIS>> extends Object
Container class for figuring out annotation-based configuration for Jakarta-RS end points.
  • Field Details

    • _config

      protected final tools.jackson.databind.cfg.MapperConfig<?> _config
    • _activeView

      protected Class<?> _activeView
    • _rootName

      protected String _rootName
    • _deserEnable

      protected tools.jackson.databind.DeserializationFeature[] _deserEnable
    • _deserDisable

      protected tools.jackson.databind.DeserializationFeature[] _deserDisable
    • _reader

      protected tools.jackson.databind.ObjectReader _reader
    • _serEnable

      protected tools.jackson.databind.SerializationFeature[] _serEnable
    • _serDisable

      protected tools.jackson.databind.SerializationFeature[] _serDisable
    • _writer

      protected tools.jackson.databind.ObjectWriter _writer
  • Constructor Details

    • EndpointConfigBase

      protected EndpointConfigBase(tools.jackson.databind.cfg.MapperConfig<?> config)
  • Method Details

    • add

      protected THIS add(Annotation[] annotations, boolean forWriting)
    • addAnnotation

      protected void addAnnotation(Class<? extends Annotation> type, Annotation annotation, boolean forWriting)
    • initReader

      protected THIS initReader(tools.jackson.databind.ObjectReader reader)
    • initWriter

      protected THIS initWriter(tools.jackson.databind.ObjectWriter writer)
    • getRootName

      public String getRootName()
    • getActiveView

      public Class<?> getActiveView()
    • getReader

      public final tools.jackson.databind.ObjectReader getReader()
    • getWriter

      public final tools.jackson.databind.ObjectWriter getWriter()
    • modifyBeforeWrite

      public abstract Object modifyBeforeWrite(Object value)
    • nullIfEmpty

      protected static <T> T[] nullIfEmpty(T[] arg)