Files
redkale/src/com/wentch/redkale/net/http/HttpServlet.java
地平线 7e73bc0d6c
2015-09-30 16:41:44 +08:00

30 lines
733 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 com.wentch.redkale.net.http;
import com.wentch.redkale.net.Servlet;
import com.wentch.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();
}
}