vertx / io.vertx.reactivex.ext.web.handler / StaticHandler / setDefaultContentEncoding

# setDefaultContentEncoding

`open fun setDefaultContentEncoding(contentEncoding: String): StaticHandler`

Set the default content encoding for text related files. This allows overriding the system settings default value.

### Parameters

`contentEncoding` - the desired content encoding e.g.: "UTF-8"

Return
a reference to this, so the API can be used fluently