class PathVarParamWriter extends AbstractUrlParamWriter {

  @Override
  public void write(URLPathStringBuilder builder, Map<String, Object> args) throws Exception {
    if (getParamValue(args) == null) {
      throw new IllegalArgumentException("path parameter can not be null.");
    }
    String encodedPathParam = encodeNotNullValue(getParamValue(args));
    builder.appendPath(encodedPathParam);
  }

  public  PathVarParamWriter(RestParam param);

}