Class Resolver

  • Direct Known Subclasses:
    ResolverImpl

    public abstract class Resolver
    extends java.lang.Object
    Resolver abstract class.
    • Constructor Summary

      Constructors 
      Constructor Description
      Resolver()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract java.nio.charset.Charset getUriCharset()
      Return the URI character set.
      abstract java.lang.String resolve​(java.lang.String key)
      Resolve a key to a string value.
      java.lang.String resolveEnv​(java.lang.String key)
      Resolve an environment variable key to a string value.
      abstract java.lang.String resolveHttp​(java.lang.String key)
      Resolve an HTTP header key to a string value.
      abstract boolean resolveResource​(int type, java.lang.String name)
      Resolve a resource check.
      abstract java.lang.String resolveSsl​(java.lang.String key)
      Resolve an SSL variable key to a string value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Resolver

        public Resolver()
        Default constructor.
    • Method Detail

      • resolve

        public abstract java.lang.String resolve​(java.lang.String key)
        Resolve a key to a string value.
        Parameters:
        key - The key to resolve
        Returns:
        The resolved string value
      • resolveEnv

        public java.lang.String resolveEnv​(java.lang.String key)
        Resolve an environment variable key to a string value.
        Parameters:
        key - The key to resolve
        Returns:
        The resolved string value
      • resolveSsl

        public abstract java.lang.String resolveSsl​(java.lang.String key)
        Resolve an SSL variable key to a string value.
        Parameters:
        key - The key to resolve
        Returns:
        The resolved string value
      • resolveHttp

        public abstract java.lang.String resolveHttp​(java.lang.String key)
        Resolve an HTTP header key to a string value.
        Parameters:
        key - The key to resolve
        Returns:
        The resolved string value
      • resolveResource

        public abstract boolean resolveResource​(int type,
                                                java.lang.String name)
        Resolve a resource check.
        Parameters:
        type - The type of resource check (0=directory, 1=file, 2=non-empty file)
        name - The resource name
        Returns:
        True if the resource matches the specified type
      • getUriCharset

        public abstract java.nio.charset.Charset getUriCharset()
        Return the URI character set.
        Returns:
        The URI character set