toggle menu
Spring Boot Kotlin API
3.4.5
jvm
switch theme
search in API
spring-boot
/
org.springframework.boot.web.servlet.server
/
Encoding
Encoding
open
class
Encoding
Configuration properties for server HTTP encoding.
Author
Phillip Webb
Stephane Nicoll
Brian Clozel
Since
2.3.0
Members
Constructors
Encoding
Link copied to clipboard
constructor
(
)
Types
Type
Link copied to clipboard
enum
Type
Type of HTTP message to consider for encoding configuration.
Properties
charset
Link copied to clipboard
open
var
charset
:
Charset
Charset of HTTP requests and responses.
DEFAULT_CHARSET
Link copied to clipboard
val
DEFAULT_CHARSET
:
Charset
Default HTTP encoding for Servlet applications.
mapping
Link copied to clipboard
open
var
mapping
:
Map
<
Locale
,
Charset
>
Mapping of locale to charset for response encoding.
Functions
is
Force
Link copied to clipboard
open
fun
isForce
(
)
:
Boolean
is
Force
Request
Link copied to clipboard
open
fun
isForceRequest
(
)
:
Boolean
is
Force
Response
Link copied to clipboard
open
fun
isForceResponse
(
)
:
Boolean
set
Force
Link copied to clipboard
open
fun
setForce
(
force
:
Boolean
)
set
Force
Request
Link copied to clipboard
open
fun
setForceRequest
(
forceRequest
:
Boolean
)
set
Force
Response
Link copied to clipboard
open
fun
setForceResponse
(
forceResponse
:
Boolean
)
should
Force
Link copied to clipboard
open
fun
shouldForce
(
type
:
Encoding.Type
)
:
Boolean