Class HTMLGatewayUtil

java.lang.Object
com.saperion.util.HTMLGatewayUtil

public final class HTMLGatewayUtil extends Object
The Class HTMLGatewayUtil encapsulates the HTML gateway handling. This is a FINAL class.
  • Field Details

    • LOGGER

      public static final com.saperion.common.logging.Logger LOGGER
      The Constant LOGGER.
  • Method Details

    • getDocument

      public static HTMLGatewayUtil.GatewayDocument getDocument(String queryParams, com.saperion.connector.SaClassicConnector connector) throws Exception
      Performs the HTML gateway functionality, returns the encapsulated GatewayDocument.
      Parameters:
      queryParams - The query parameters.
      connector - The SaClassicConnector connector.
      Returns:
      the gateway document
      Throws:
      Exception - If an exception occurs.
    • parse

      public static Map<String,String> parse(String query)
      Parses the given URL query and builds a map with predefined keys to be processed on. This parser works for the following pattern: [user:[password]@]<FILE|FILER|SAVE>/[/]/
      Parameters:
      query - the query
      Returns:
      the map