toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ContentEncoding.none:
      return 'NONE';
    case ContentEncoding.gzip:
      return 'GZIP';
  }
}