public class HttpLogger extends java.lang.Object implements Logger
sawt_site=siteName&sawt_type=WT_WAS{&sawt_info=data}+
where data is
See DatabaseLogger class for definition of the fields.
If a field is null, a dash (-) will be written in that position. For example,
"sawt_site=yahoo&sawt_type=WT_WAS&sawt_info=
DatabaseLogger
Constructor and Description |
---|
HttpLogger(java.net.URL url)
Deprecated.
Constructs a HTTP-base Logger.
|
HttpLogger(java.net.URL url,
java.lang.String siteName)
Deprecated.
Constructs a HTTP-base Logger.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getStorageSource()
Deprecated.
Returns my storage source -- a URL
|
void |
write(LogRecord[] lr)
Deprecated.
Sends the data to the receiving URL specified in the constructor.
|
public HttpLogger(java.net.URL url)
url
- a web program URL receiving the data from this logger such as
a CGI or a servletpublic HttpLogger(java.net.URL url, java.lang.String siteName)
url
- a web program URL receiving the data from this logger such as
a CGI or a servletsiteName
- a name representing the site where the data generatedpublic void write(LogRecord[] lr) throws java.lang.Exception
public java.lang.Object getStorageSource()
getStorageSource
in interface Logger