Class JsonEndpointConfig

    • Constructor Detail

      • JsonEndpointConfig

        protected JsonEndpointConfig​(com.fasterxml.jackson.databind.cfg.MapperConfig<?> config)
    • Method Detail

      • forReading

        public static JsonEndpointConfig forReading​(com.fasterxml.jackson.databind.ObjectReader reader,
                                                    java.lang.annotation.Annotation[] annotations)
      • forWriting

        public static JsonEndpointConfig forWriting​(com.fasterxml.jackson.databind.ObjectWriter writer,
                                                    java.lang.annotation.Annotation[] annotations,
                                                    java.lang.String defaultJsonpMethod)
      • addAnnotation

        protected void addAnnotation​(java.lang.Class<? extends java.lang.annotation.Annotation> type,
                                     java.lang.annotation.Annotation annotation,
                                     boolean forWriting)
        Overrides:
        addAnnotation in class EndpointConfigBase<JsonEndpointConfig>
      • applyJSONP

        public java.lang.Object applyJSONP​(java.lang.Object value)
        Method that will add JSONP wrapper object, if and as configured by collected annotations.