C# Класс Pcc.PrizmApplicationServices

Показать файл Открыть проект

Открытые методы

Метод Описание
CreateSessionFromDocument ( string documentName ) : string

Creates a new viewing session from an existing document in document storage

CreateSessionFromFileUpload ( string filePath ) : string

Creates a new viewing session from a file

CreateSessionFromForm ( string formId ) : string

Creates a new viewing session from an existing form

ForwardRequest ( HttpContext context, string path ) : void

Forwards any given request to PrizmApplicationServices

Приватные методы

Метод Описание
CreatePasRequest ( string method, string path = "", string queryString = "" ) : HttpWebRequest
GetProxyRequest ( HttpContext context, string method, string path, string query ) : HttpWebRequest
GetProxyRequestWithQuery ( HttpContext context, string method, string path = "", NameValueCollection query = null ) : HttpWebRequest
GetResponseStreamBytes ( WebResponse response ) : byte[]
JsonToDictionary ( string json ) : object>.Dictionary
ToQueryString ( NameValueCollection nvc ) : string
UpdateContextResponse ( HttpContext context, HttpWebResponse response ) : void

Описание методов

CreateSessionFromDocument() публичный статический Метод

Creates a new viewing session from an existing document in document storage
public static CreateSessionFromDocument ( string documentName ) : string
documentName string The name of the document
Результат string

CreateSessionFromFileUpload() публичный статический Метод

Creates a new viewing session from a file
public static CreateSessionFromFileUpload ( string filePath ) : string
filePath string The full path of the file that will be uploaded
Результат string

CreateSessionFromForm() публичный статический Метод

Creates a new viewing session from an existing form
public static CreateSessionFromForm ( string formId ) : string
formId string The ID of the previously saved form
Результат string

ForwardRequest() публичный статический Метод

Forwards any given request to PrizmApplicationServices
public static ForwardRequest ( HttpContext context, string path ) : void
context System.Web.HttpContext The HTTP Context that will be used to access both request and response
path string The path that will be used to invoke PrizmApplicationServices
Результат void