Files
redkale/src/org/redkale/net/http/HttpServlet.java
kamhung 129169cb87
2015-12-09 10:29:45 +08:00

30 lines
712 B
Java

/*
* 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 org.redkale.net.http;
import org.redkale.net.Servlet;
import org.redkale.util.*;
/**
*
* @author zhangjx
*/
public abstract class HttpServlet implements Servlet<HttpRequest, HttpResponse<HttpRequest>> {
AnyValue conf; //当前HttpServlet的配置
@Override
public final boolean equals(Object obj) {
return obj != null && obj.getClass() == this.getClass();
}
@Override
public final int hashCode() {
return this.getClass().hashCode();
}
}