getObjectInSession() Method

In CatalogService, use the getObjectInSession() method to download an object from the catalog for a given user.

This method returns the requested object file in binary.

For more information about in-session methods, see About In-Session Methods.

Signature

byte[] getObjectInSession(String objectAbsolutePath, String bipSessionToken);

Parameters for getObjectInSession() Method

Parameter Description

String objectAbsolutePath

The path to the object to retrieve.

String bipSessionToken

The proprietary token string generated for the user. With the bipSessionToken string, the user no longer needs to provide user credentials. The server can validate this token string and restore the session to perform needed operation.