001    package railo.runtime.rest;
002    
003    public class RestSettingImpl implements RestSettings {
004    
005            private final boolean skipCFCWithError;
006            private int returnFormat;
007    
008            public RestSettingImpl(boolean skipCFCWithError, int returnFormat) {
009                    this.skipCFCWithError=skipCFCWithError;
010                    this.returnFormat=returnFormat;
011            }
012    
013            @Override
014            public boolean getSkipCFCWithError() {
015                    return skipCFCWithError;
016            }
017    
018            @Override
019            public int getReturnFormat() {
020                    return returnFormat;
021            }
022    
023    }