|
1 | 1 | /*
|
2 |
| - * Copyright 2012-2024 the original author or authors. |
| 2 | + * Copyright 2012-2025 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
|
16 | 16 |
|
17 | 17 | package org.springframework.boot.autoconfigure.http;
|
18 | 18 |
|
| 19 | +import org.springframework.aot.hint.RuntimeHints; |
| 20 | +import org.springframework.aot.hint.RuntimeHintsRegistrar; |
19 | 21 | import org.springframework.beans.factory.ObjectProvider;
|
20 | 22 | import org.springframework.boot.autoconfigure.AutoConfiguration;
|
21 | 23 | import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
31 | 33 | import org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration;
|
32 | 34 | import org.springframework.boot.context.properties.bind.BindableRuntimeHintsRegistrar;
|
33 | 35 | import org.springframework.boot.context.properties.bind.Binder;
|
| 36 | +import org.springframework.boot.logging.structured.GraylogExtendedLogFormatProperties; |
34 | 37 | import org.springframework.boot.web.servlet.server.Encoding;
|
35 | 38 | import org.springframework.context.annotation.Bean;
|
36 | 39 | import org.springframework.context.annotation.Conditional;
|
@@ -100,10 +103,11 @@ private static final class ReactiveWebApplication {
|
100 | 103 |
|
101 | 104 | }
|
102 | 105 |
|
103 |
| - static class HttpMessageConvertersAutoConfigurationRuntimeHints extends BindableRuntimeHintsRegistrar { |
| 106 | + static class HttpMessageConvertersAutoConfigurationRuntimeHints implements RuntimeHintsRegistrar { |
104 | 107 |
|
105 |
| - HttpMessageConvertersAutoConfigurationRuntimeHints() { |
106 |
| - super(Encoding.class); |
| 108 | + @Override |
| 109 | + public void registerHints(RuntimeHints hints, ClassLoader classLoader) { |
| 110 | + BindableRuntimeHintsRegistrar.forTypes(Encoding.class).registerHints(hints, classLoader); |
107 | 111 | }
|
108 | 112 |
|
109 | 113 | }
|
|
0 commit comments