Class ConsoleHttpAccessLogger
java.lang.Object
com.github.toolarium.network.server.logger.impl.ConsoleHttpAccessLogger
- All Implemented Interfaces:
IHttpAccessLogger
Implements the http access logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrequestReceived(IHttpServerInformation serverInformation, IHttpRequest request) Request received notificationvoidresponseSent(IHttpServerInformation serverInformation, IHttpRequest request, IHttpResponse response) Response sent notificationvoidstart()Notification to start the http access loggervoidstop()Notification to stop the http access logger
-
Constructor Details
-
ConsoleHttpAccessLogger
public ConsoleHttpAccessLogger()Constructor for ConsoleHttpAccessLogger
-
-
Method Details
-
start
public void start()Description copied from interface:IHttpAccessLoggerNotification to start the http access logger- Specified by:
startin interfaceIHttpAccessLogger- See Also:
-
stop
public void stop()Description copied from interface:IHttpAccessLoggerNotification to stop the http access logger- Specified by:
stopin interfaceIHttpAccessLogger- See Also:
-
requestReceived
Description copied from interface:IHttpAccessLoggerRequest received notification- Specified by:
requestReceivedin interfaceIHttpAccessLogger- Parameters:
serverInformation- the server informationrequest- the request- See Also:
-
responseSent
public void responseSent(IHttpServerInformation serverInformation, IHttpRequest request, IHttpResponse response) Description copied from interface:IHttpAccessLoggerResponse sent notification- Specified by:
responseSentin interfaceIHttpAccessLogger- Parameters:
serverInformation- the server informationrequest- the requestresponse- the response- See Also:
-