Class HttpGate


  • public class HttpGate
    extends AbstractGate
    The HTTP gateway node of the 1C:Enterprise Standalone server config.
    • Constructor Detail

      • HttpGate

        public HttpGate()
        Initializes gate using default address and port values.
    • Method Detail

      • copy

        public HttpGate copy()
        Creates a copy of the instance.
        Returns:
        the copy instance, never null
      • getEndpoint

        public List<Publication> getEndpoint()
        Returns:
        the endpoint
      • setEndpoint

        public void setEndpoint​(List<Publication> endpoint)
        Parameters:
        endpoint - the endpoint to set
      • getBaseUrl

        public String getBaseUrl()
        Returns the gate base URL.
        Specified by:
        getBaseUrl in class AbstractGate
        Returns:
        the gate base URL, never null
      • getPublicationUrl

        public String getPublicationUrl​(Publication publication)
        Returns the specified publication URL within this gate.
        Parameters:
        publication - the publication to get gate URL for, cannot be null
        Returns:
        the provided publication URL within this gate, never null