asPrefixOrNull

Casts this HeaderMatchMethod as a Prefix and retrieves its kotlin.String value. Returns null if the HeaderMatchMethod is not a Prefix.