@Optional
private Function<Event, String> reasonPhrase;
@Parameter
@Optional
private Function<Event, Map> headersRef;
<BUG>@Parameter
@Optional
private Function<Event, List> partsRef;</BUG>
public Integer getStatusCode(Event event) {
return statusCode != null ? statusCode.apply(event) : null;

@Optional
private Function<Event, Integer> statusCode;
@Parameter
@Optional
private Function<Event, String> reasonPhrase;
@Parameter
@Optional
private Function<Event, Map> headersRef;
public Integer getStatusCode(Event event) {
return statusCode != null ? statusCode.apply(event) : null;
