Namespace: Consultingwerk.Studio.ProparseApi.Implementation.ProparseWeb
Class 
ProparseWebSession Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Studio.ProparseApi.Implementation.ProparseWeb.IProparseWebSession

File:ProparseWebSession
Purpose:Represents an HTTP-Session
Author(s):Sebastian
Created:Mon Nov 16 10:26:44 CET 2020



Top Method Summary
Options Name Purpose
+ AddNode (INode) Adds a node to the current sessions map
+ DelNode (integer) Removes a node from the current session
+ Consultingwerk.Studio.ProparseApi.INode GetNode (integer) Returns the node with the given NodeNum
+ LOGICAL HasNode (integer) Checks whether a node with a given NodeNum exists in the current sessions map

Top Constructor Summary
Options Name Purpose
+ ProparseWebSession (character, IHttpClient, Cookie) Constructor for the ProparseWebSession class

Top Property Summary
Options Name Purpose
+ CHARACTER BaseUrl
+ OpenEdge.Net.HTTP.IHttpClient HttpClient
+ OpenEdge.Net.HTTP.Cookie JSessionID


Method Detail
Top

PUBLIC AddNode (INode)

Purpose: Adds a node to the current sessions map
Notes: Ignores duplicates

Parameters:
poNode Consultingwerk.Studio.ProparseApi.INode
The node to add
Top

PUBLIC DelNode (integer)

Purpose: Removes a node from the current session
Notes:

Parameters:
piKey INTEGER
NodeNum of the node to remove
Top

PUBLIC Consultingwerk.Studio.ProparseApi.INode GetNode (integer)

Purpose: Returns the node with the given NodeNum
Notes:

Parameters:
piKey INTEGER
NodeNum of the sought node
Returns Consultingwerk.Studio.ProparseApi.INode
The node with NodeNum piKey, or ? if it does not exist in the current session
Top

PUBLIC LOGICAL HasNode (integer)

Purpose: Checks whether a node with a given NodeNum exists in the current sessions map
Notes:

Parameters:
piKey INTEGER
NodeNum of the sought node
Returns LOGICAL
TRUE/FALSE whether the node exists


Constructor Detail
Top

PUBLIC ProparseWebSession (character, IHttpClient, Cookie)

Purpose: Constructor for the ProparseWebSession class
Notes:

Parameters:
pcBaseUrl CHARACTER
The BaseUrl of the server hosting the service
poHttpClient OpenEdge.Net.HTTP.IHttpClient
The HttpClient to use for requests
poJSessionID OpenEdge.Net.HTTP.Cookie
The Cookie holding the JSessionID


Property Detail
Top

PUBLIC CHARACTER BaseUrl


Returns CHARACTER
Top

PUBLIC OpenEdge.Net.HTTP.IHttpClient HttpClient


Returns OpenEdge.Net.HTTP.IHttpClient
Top

PUBLIC OpenEdge.Net.HTTP.Cookie JSessionID


Returns OpenEdge.Net.HTTP.Cookie


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:23:07