mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
64 lines
2.4 KiB
Java
Generated
64 lines
2.4 KiB
Java
Generated
/**
|
|
*
|
|
* Copyright 2003-2004 The Apache Software Foundation
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
/*
|
|
* Adapted from the Java Servlet API version 2.4 as available at
|
|
* http://search.maven.org/remotecontent?filepath=javax/servlet/servlet-api/2.4/servlet-api-2.4-sources.jar
|
|
* Only relevant stubs of this file have been retained for test purposes.
|
|
*/
|
|
|
|
package javax.servlet.http;
|
|
|
|
import java.io.IOException;
|
|
import javax.servlet.GenericServlet;
|
|
import javax.servlet.ServletException;
|
|
import javax.servlet.ServletRequest;
|
|
import javax.servlet.ServletResponse;
|
|
|
|
public abstract class HttpServlet extends GenericServlet {
|
|
protected void doGet(HttpServletRequest req, HttpServletResponse resp)
|
|
throws ServletException, IOException {
|
|
}
|
|
protected long getLastModified(HttpServletRequest req) {
|
|
return -1;
|
|
}
|
|
protected void doHead(HttpServletRequest req, HttpServletResponse resp)
|
|
throws ServletException, IOException {
|
|
}
|
|
protected void doPost(HttpServletRequest req, HttpServletResponse resp)
|
|
throws ServletException, IOException {
|
|
}
|
|
protected void doPut(HttpServletRequest req, HttpServletResponse resp)
|
|
throws ServletException, IOException {
|
|
}
|
|
protected void doDelete(HttpServletRequest req, HttpServletResponse resp)
|
|
throws ServletException, IOException {
|
|
}
|
|
protected void doOptions(HttpServletRequest req, HttpServletResponse resp)
|
|
throws ServletException, IOException {
|
|
}
|
|
protected void doTrace(HttpServletRequest req, HttpServletResponse resp)
|
|
throws ServletException, IOException {
|
|
}
|
|
protected void service(HttpServletRequest req, HttpServletResponse resp)
|
|
throws ServletException, IOException {
|
|
}
|
|
public void service(ServletRequest req, ServletResponse res)
|
|
throws ServletException, IOException {
|
|
}
|
|
}
|