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