org.springframework.boot.autoconfigure.http

Class HttpEncodingProperties

  • java.lang.Object
    • org.springframework.boot.autoconfigure.http.HttpEncodingProperties


  • @ConfigurationProperties(prefix="spring.http.encoding")
    public class HttpEncodingProperties
    extends Object
    Configuration properties for http encoding.
    Since:
    1.2.0
    Author:
    Stephane Nicoll, Brian Clozel
    • Field Detail

      • DEFAULT_CHARSET

        public static final Charset DEFAULT_CHARSET
    • Constructor Detail

      • HttpEncodingProperties

        public HttpEncodingProperties()
    • Method Detail

      • getCharset

        public Charset getCharset()
      • setCharset

        public void setCharset(Charset charset)
      • isForce

        public boolean isForce()
      • setForce

        public void setForce(boolean force)
      • isForceRequest

        public boolean isForceRequest()
      • setForceRequest

        public void setForceRequest(boolean forceRequest)
      • isForceResponse

        public boolean isForceResponse()
      • setForceResponse

        public void setForceResponse(boolean forceResponse)