Class UrlParser


  • public class UrlParser
    extends Object
    The Class UrlParser.
    • Field Detail

      • logger

        private static final org.slf4j.Logger logger
        The Constant logger.
      • protocol

        private String protocol
        The protocol.
      • host

        private String host
        The host.
      • port

        private int port
        The port.
      • path

        private String path
        The path.
    • Method Detail

      • getProtocol

        public String getProtocol()
        Gets the protocol.
        Returns:
        the protocol
      • setProtocol

        public void setProtocol​(String protocol)
        Sets the protocol.
        Parameters:
        protocol - the new protocol
      • getHost

        public String getHost()
        Gets the host.
        Returns:
        the host
      • setHost

        public void setHost​(String host)
        Sets the host.
        Parameters:
        host - the new host
      • getPort

        public int getPort()
        Gets the port.
        Returns:
        the port
      • setPort

        public void setPort​(int port)
        Sets the port.
        Parameters:
        port - the new port
      • getPath

        public String getPath()
        Gets the path.
        Returns:
        the path
      • setPath

        public void setPath​(String path)
        Sets the path.
        Parameters:
        path - the new path