| java.lang.Object org.openlaszlo.data.DataSource org.openlaszlo.data.HTTPDataSource
HTTPDataSource | public class HTTPDataSource extends DataSource (Code) | | HTTP Transport
|
Method Summary | |
public static int | getConnectionPoolTimeout() | public Data | getData(String app, HttpServletRequest req, HttpServletResponse res, long since) Do an HTTP Get/Post based on this request
the data from this request Parameters: app - absolute pathnane to app file Parameters: req - request in progress (possibly null) Parameters: since - this is the timestamp on thecurrently cached item; this time can be used as the datasourcesees fit (or ignored) in constructing the results. | public static HttpData | getDataOnce(HttpServletRequest req, HttpServletResponse res, long since, String surl, int redirCount, int timeout) | public static Data | getHTTPData(HttpServletRequest req, HttpServletResponse res, String surl, long since) | public static int | getMaxConnectionsPerHost() | public static int | getMaxTotalConnections() | static boolean | isRedirect(int rc) | public static void | main(String args) | public String | name() |
getConnectionPoolTimeout | public static int getConnectionPoolTimeout()(Code) | | |
getData | public Data getData(String app, HttpServletRequest req, HttpServletResponse res, long since) throws DataSourceException, IOException(Code) | | Do an HTTP Get/Post based on this request
the data from this request Parameters: app - absolute pathnane to app file Parameters: req - request in progress (possibly null) Parameters: since - this is the timestamp on thecurrently cached item; this time can be used as the datasourcesees fit (or ignored) in constructing the results. If the value is -1, assume there is no currently cached item. |
getMaxConnectionsPerHost | public static int getMaxConnectionsPerHost()(Code) | | |
getMaxTotalConnections | public static int getMaxTotalConnections()(Code) | | |
isRedirect | static boolean isRedirect(int rc)(Code) | | convenience routine missing from http library
|
Methods inherited from org.openlaszlo.data.DataSource | final public void get(String app, HttpServletRequest req, HttpServletResponse res) throws DataSourceException, IOException(Code)(Java Doc) final public void getAsSWF(String app, HttpServletRequest req, HttpServletResponse res, Converter converter) throws DataSourceException, ConversionException, IOException(Code)(Java Doc) abstract public Data getData(String app, HttpServletRequest req, HttpServletResponse res, long lastModifiedTime) throws InterruptedIOException, IOException, DataSourceException(Code)(Java Doc) final public static HashMap getQueryString(String url)(Code)(Java Doc) final public static String getURL(HttpServletRequest req, String surl) throws MalformedURLException(Code)(Java Doc) public static String getURL(HttpServletRequest req) throws MalformedURLException(Code)(Java Doc) final public static boolean isClientCacheable(HttpServletRequest req)(Code)(Java Doc) abstract public String name()(Code)(Java Doc)
|
|
|