withReadOnly

open override fun withReadOnly(): Header

Makes this header read-only and returns it.

After calling this method, any attempts to modify the header will throw an UnsupportedOperationException.

Return

This header instance, now read-only