Class StreamAppender
java.lang.Object
org.glassfish.grizzly.http.server.accesslog.StreamAppender
- All Implemented Interfaces:
Closeable
,AutoCloseable
,AccessLogAppender
- Direct Known Subclasses:
FileAppender
- Author:
- Pier Fumagalli, USRZ.com
-
Constructor Summary
ConstructorsConstructorDescriptionStreamAppender
(OutputStream output) Create a newStreamAppender
instance writing log entries to the specifiedOutputStream
. -
Method Summary
-
Constructor Details
-
StreamAppender
Create a newStreamAppender
instance writing log entries to the specifiedOutputStream
.
-
-
Method Details
-
append
Description copied from interface:AccessLogAppender
Append the specified access log entry.- Specified by:
append
in interfaceAccessLogAppender
- Parameters:
accessLogEntry
- TheString
value of the data to be append in the access log.- Throws:
IOException
- If an I/O error occurred appending to the log.
-
close
Description copied from interface:AccessLogAppender
Close any underlying resource owned by this appender.- Specified by:
close
in interfaceAccessLogAppender
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-