toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ForwardedIPPosition.first:
      return 'FIRST';
    case ForwardedIPPosition.last:
      return 'LAST';
    case ForwardedIPPosition.any:
      return 'ANY';
  }
}