APISonar


fitnesse.components.LogData.time

> fitnesse > components > LogData > time
fitnesse APIs components APIs LogData APIs time APIs

Example 1
public static LogData makeLogData(Socket socket, Request request, Response response)
	{
		LogData data = new LogData();
		data.host = ((InetSocketAddress) socket.getRemoteSocketAddress()).getAddress().getHostAddress();
		data.time = new GregorianCalendar();
		data.requestLine = request.getRequestLine();
		data.status = response.getStatus();
		data.size = response.getContentSize();
		data.username = request.getAuthorizationUsername();

		return data;
	}