001    package railo.runtime.type.scope;
002    
003    import java.io.UnsupportedEncodingException;
004    
005    import railo.runtime.listener.ApplicationContext;
006    
007    
008    /**
009     * inteface for the url scope
010     */
011    public interface URL extends Scope {
012    
013        /**
014         * @return Returns the encoding.
015         */
016        public abstract String getEncoding();
017    
018        /**
019         * @param ac current ApplicationContext 
020         * @param encoding The encoding to set.
021         * @throws UnsupportedEncodingException 
022         */
023        public abstract void setEncoding(ApplicationContext ac,String encoding) throws UnsupportedEncodingException;
024    
025            public abstract void setScriptProtecting(ApplicationContext ac,boolean b);
026            
027    
028    }