asPrefix

Casts this HeaderMatchMethod as a Prefix and retrieves its kotlin.String value. Throws an exception if the HeaderMatchMethod is not a Prefix.