public PathParameter process(final PathParameter param) { PathParameter result = param.copy(); Matcher matcher = pattern.matcher(param.getExpression().getELExpression()); if (matcher.matches()) { String regex = matcher.group(3); result.setRegex(regex); result.setExpression(new ConstantExpression(matcher.group(1) + matcher.group(4))); result.setExpressionIsPlainText(false); } return result; }
public PathParameter process(final PathParameter param) { PathParameter result = param.copy(); Matcher matcher = pattern.matcher(param.getExpression().getELExpression()); if (matcher.matches()) { String regex = matcher.group(3); result.setRegex(regex); result.setExpression(new ConstantExpression(matcher.group(1) + matcher.group(4))); result.setExpressionIsPlainText(false); } return result; }
public PathParameter process(final PathParameter param) { PathParameter result = param.copy(); Matcher matcher = pattern.matcher(param.getExpression().getELExpression()); if (matcher.matches()) { String regex = matcher.group(3); result.setRegex(regex); result.setExpression(new ConstantExpression(matcher.group(1) + matcher.group(4))); result.setExpressionIsPlainText(false); } return result; }
public PathParameter process(final PathParameter param) { PathParameter result = param.copy(); Matcher matcher = pattern.matcher(param.getExpression().getELExpression()); if (matcher.matches()) { String regex = matcher.group(3); result.setRegex(regex); result.setExpression(new ConstantExpression(matcher.group(1) + matcher.group(4))); result.setExpressionIsPlainText(false); } return result; }
public PathParameter process(final PathParameter param) { PathParameter result = param.copy(); if (result.expressionIsPlainText()) { result.setRegex(result.getExpression().getELExpression()); } return result; }
public PathParameter process(final PathParameter param) { PathParameter result = param.copy(); if (result.expressionIsPlainText()) { result.setRegex(result.getExpression().getELExpression()); } return result; }
public PathParameter process(final PathParameter param) { PathParameter result = param.copy(); if (result.expressionIsPlainText()) { result.setRegex(result.getExpression().getELExpression()); } return result; }
public PathParameter process(final PathParameter param) { PathParameter result = param.copy(); if (result.expressionIsPlainText()) { result.setRegex(result.getExpression().getELExpression()); } return result; }
public PathParameter copy() { PathParameter result = new PathParameter(); if (isNamed()) { result.setName(getName()); } result.setName(getName()); result.setValue(getValue()); result.setPosition(getPosition()); result.setExpression(getExpression()); result.setRegex(getRegex()); result.setExpressionIsPlainText(expressionIsPlainText()); return result; }
public PathParameter copy() { PathParameter result = new PathParameter(); if (isNamed()) { result.setName(getName()); } result.setName(getName()); result.setValue(getValue()); result.setPosition(getPosition()); result.setExpression(getExpression()); result.setRegex(getRegex()); result.setExpressionIsPlainText(expressionIsPlainText()); return result; }
public PathParameter copy() { PathParameter result = new PathParameter(); if (isNamed()) { result.setName(getName()); } result.setName(getName()); result.setValue(getValue()); result.setPosition(getPosition()); result.setExpression(getExpression()); result.setRegex(getRegex()); result.setExpressionIsPlainText(expressionIsPlainText()); return result; }
public PathParameter copy() { PathParameter result = new PathParameter(); if (isNamed()) { result.setName(getName()); } result.setName(getName()); result.setValue(getValue()); result.setPosition(getPosition()); result.setExpression(getExpression()); result.setRegex(getRegex()); result.setExpressionIsPlainText(expressionIsPlainText()); return result; }