class SequenceManager implements SequenceDescriptorHolder {

    public void tryToSaveResponseIntoSequence(final WilmaHttpResponse response) {
        String headerParameter = response.getSequenceId();
        if (headerParameter != null) {
            String[] sequenceKeys = headerUtil.resolveSequenceHeader(headerParameter);
            for (String key : sequenceKeys) {
                addResponseToSequence(key, response);
            }
        }
    }

}