Cisco Cisco Collaboration Server Dynamic Content Adapter Developer's Guide

Page of 138
DCA 2.01 Parser API Specification
 
Class LightweightHtmlDocument   23 
public LightweightHtmlDocument(byte[] html, 
                               com.cisco.proxy.http.NetURL targetURL, 
                               boolean isSecure, 
                               
LightweightRequestData
 requestData) 
                        throws com.cisco.proxy.error.ProxyException 
Creates and parses an Html document which may or may not be text. Non-
HTML content will not be parsed and is stored as an unaltered byte array. This 
object is for use in a client/browser; it does not include output caching or 
server logging as HtmlDocument does. It also does not support charset 
changes, since content parsed in the browser should all be in a consistent 
charset anyway. 
Parameters: 
html
 - Description of Parameter 
targetURL
 - Description of Parameter 
isSecure
 - Description of Parameter 
requestData
 - Description of Parameter 
Throws: 
com.cisco.proxy.error.ProxyException
 - Description of Exception 
Since:  
2.0 
LightweightHtmlDocument 
 
public LightweightHtmlDocument(java.lang.String html, 
                               com.cisco.proxy.http.NetURL targetURL,