Package com.saperion.util
Class HTMLGatewayUtil
java.lang.Object
com.saperion.util.HTMLGatewayUtil
The Class HTMLGatewayUtil encapsulates the HTML gateway handling. This is a FINAL class.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The Class GatewayDocument. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.saperion.common.logging.Logger
The Constant LOGGER. -
Method Summary
Modifier and TypeMethodDescriptiongetDocument
(String queryParams, com.saperion.connector.SaClassicConnector connector) Performs the HTML gateway functionality, returns the encapsulatedGatewayDocument
.Parses the given URL query and builds a map with predefined keys to be processed on.
-
Field Details
-
LOGGER
public static final com.saperion.common.logging.Logger LOGGERThe 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 encapsulatedGatewayDocument
.- Parameters:
queryParams
- The query parameters.connector
- The SaClassicConnector connector.- Returns:
- the gateway document
- Throws:
Exception
- If an exception occurs.
-
parse
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
-