Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.nettyhttpserver.server.util; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.http.FullHttpResponse; import io.netty.util.Timeout; import io.netty.util.TimerTask; /** * * @author McKey */ public class ResponseTimerTask implements TimerTask { private ChannelHandlerContext ctx; private FullHttpResponse response; private boolean keepAlive; @Override public void run(Timeout tmt) throws Exception { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } }