Class MidpointAbstractHttpMessageConverter<T>

    • Field Detail

    • Constructor Detail

      • MidpointAbstractHttpMessageConverter

        protected MidpointAbstractHttpMessageConverter​(PrismContext prismContext,
                                                       LocalizationService localizationService,
                                                       org.springframework.http.MediaType... supportedMediaTypes)
    • Method Detail

      • supports

        protected boolean supports​(Class<?> clazz)
        Specified by:
        supports in class org.springframework.http.converter.AbstractHttpMessageConverter<T>
      • readInternal

        @NotNull
        protected T readInternal​(@NotNull
                                 @NotNull Class<? extends T> clazz,
                                 @NotNull
                                 @NotNull org.springframework.http.HttpInputMessage inputMessage)
                          throws IOException,
                                 org.springframework.http.converter.HttpMessageNotReadableException
        Specified by:
        readInternal in class org.springframework.http.converter.AbstractHttpMessageConverter<T>
        Throws:
        IOException
        org.springframework.http.converter.HttpMessageNotReadableException
      • writeInternal

        protected void writeInternal​(@NotNull
                                     T object,
                                     @NotNull
                                     @NotNull org.springframework.http.HttpOutputMessage outputMessage)
                              throws IOException,
                                     org.springframework.http.converter.HttpMessageNotWritableException
        Specified by:
        writeInternal in class org.springframework.http.converter.AbstractHttpMessageConverter<T>
        Throws:
        IOException
        org.springframework.http.converter.HttpMessageNotWritableException