<aside> <img src="attachment:a3a56fc3-c53c-47ff-aacc-d7c34f62abfd:table_of_content.png" alt="attachment:a3a56fc3-c53c-47ff-aacc-d7c34f62abfd:table_of_content.png" width="40px" />

TABLE OF CONTENT

</aside>

HTTP Standards


:ij-kt-annotation: Accept

Package dev.tommasop1804.springutils.servlet.request
Since version 1.0.0
Retention Runtime
Target • Value parameter

Read the value of the HTTP header Accept.

Returns null if the header is not present.

The parameter type of the annotated method parameter must be List<MediaType> (potentially nullable).

This class use AcceptArgumentResolver (a HandlerMethodArgumentResolver custom class) and AcceptArgumentResolverAutoConfiguration (a WebMvcConfigurer custom class).

:ij-kt-annotation: AcceptCharset

Package dev.tommasop1804.springutils.servlet.request
Since version 2.2.0
Retention Runtime
Target • Value parameter

Read the value of the HTTP header Accept-Charset.

Returns null if the header is not present.

The parameter type of the annotated method parameter must be List<MediaType> (potentially nullable).

This class use AcceptArgumentResolver (a HandlerMethodArgumentResolver custom class) and AcceptCharsetArgumentResolverAutoConfiguration (a WebMvcConfigurer custom class).

:ij-kt-annotation: AcceptEncoding

Package dev.tommasop1804.springutils.servlet.request
Since version 2.2.0
Retention Runtime
Target • Value parameter

Read the value of the HTTP header Accept-Encoding.

Returns null if the header is not present.