Class HostSourceDirective

    • Field Detail

      • schemes

        protected java.util.List<Scheme> schemes
      • hosts

        protected java.util.List<Host> hosts
      • star

        protected boolean star
      • self

        protected boolean self
      • none

        protected java.lang.String none
    • Constructor Detail

      • HostSourceDirective

        protected HostSourceDirective​(java.util.List<java.lang.String> values)
    • Method Detail

      • addValue

        protected void addValue​(java.lang.String value)
        Overrides:
        addValue in class Directive
      • removeValuesMatching

        protected <T> void removeValuesMatching​(T value,
                                                java.util.function.Function<java.lang.String,​java.util.Optional<T>> parser)
      • _addHostOrSchemeDuringConstruction

        void _addHostOrSchemeDuringConstruction​(java.lang.String token,
                                                java.lang.String lowcaseToken,
                                                java.lang.String kind,
                                                int index,
                                                Directive.DirectiveErrorConsumer errors)
      • star

        public boolean star()
      • setStar

        public void setStar​(boolean star)
      • self

        public boolean self()
      • setSelf

        public void setSelf​(boolean self)
      • getSchemes

        public java.util.List<Scheme> getSchemes()
      • removeScheme

        public boolean removeScheme​(Scheme scheme)
      • getHosts

        public java.util.List<Host> getHosts()
      • removeHost

        public boolean removeHost​(Host host)