Class URLStreamHandlerWithContext

java.lang.Object
java.net.URLStreamHandler
ro.sync.ecss.extensions.api.webapp.plugin.URLStreamHandlerWithContext

@API(src=PUBLIC, type=EXTENDABLE) public abstract class URLStreamHandlerWithContext extends URLStreamHandler
A base-class for URLStreamHandlers that need a context for the URL whose connection is to be opened. It is implemented by adding a user context id to the URL in the userInfo section. The context id should remain unchanged while the user edits a document. The user context contains information about the cookies and HTTP headers sent by the user. For openConnection calls, the context id passed along. You can use it to retrieve information about the user on behalf of which the request is made.
Since:
17