-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sauyon Lee
committed
Jul 14, 2021
1 parent
6dc612c
commit 3a1fc9b
Showing
69 changed files
with
1,681 additions
and
254 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/AsyncContext.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// Generated automatically from javax.servlet.AsyncContext for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
import javax.servlet.AsyncListener; | ||
import javax.servlet.ServletContext; | ||
import javax.servlet.ServletRequest; | ||
import javax.servlet.ServletResponse; | ||
|
||
public interface AsyncContext | ||
{ | ||
<T extends AsyncListener> T createListener(Class<T> p0); | ||
ServletRequest getRequest(); | ||
ServletResponse getResponse(); | ||
boolean hasOriginalRequestAndResponse(); | ||
long getTimeout(); | ||
static String ASYNC_CONTEXT_PATH = null; | ||
static String ASYNC_MAPPING = null; | ||
static String ASYNC_PATH_INFO = null; | ||
static String ASYNC_QUERY_STRING = null; | ||
static String ASYNC_REQUEST_URI = null; | ||
static String ASYNC_SERVLET_PATH = null; | ||
void addListener(AsyncListener p0); | ||
void addListener(AsyncListener p0, ServletRequest p1, ServletResponse p2); | ||
void complete(); | ||
void dispatch(); | ||
void dispatch(ServletContext p0, String p1); | ||
void dispatch(String p0); | ||
void setTimeout(long p0); | ||
void start(Runnable p0); | ||
} |
20 changes: 20 additions & 0 deletions
20
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/AsyncEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Generated automatically from javax.servlet.AsyncEvent for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
import javax.servlet.AsyncContext; | ||
import javax.servlet.ServletRequest; | ||
import javax.servlet.ServletResponse; | ||
|
||
public class AsyncEvent | ||
{ | ||
protected AsyncEvent() {} | ||
public AsyncContext getAsyncContext(){ return null; } | ||
public AsyncEvent(AsyncContext p0){} | ||
public AsyncEvent(AsyncContext p0, ServletRequest p1, ServletResponse p2){} | ||
public AsyncEvent(AsyncContext p0, ServletRequest p1, ServletResponse p2, Throwable p3){} | ||
public AsyncEvent(AsyncContext p0, Throwable p1){} | ||
public ServletRequest getSuppliedRequest(){ return null; } | ||
public ServletResponse getSuppliedResponse(){ return null; } | ||
public Throwable getThrowable(){ return null; } | ||
} |
14 changes: 14 additions & 0 deletions
14
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/AsyncListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Generated automatically from javax.servlet.AsyncListener for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
import java.util.EventListener; | ||
import javax.servlet.AsyncEvent; | ||
|
||
public interface AsyncListener extends EventListener | ||
{ | ||
void onComplete(AsyncEvent p0); | ||
void onError(AsyncEvent p0); | ||
void onStartAsync(AsyncEvent p0); | ||
void onTimeout(AsyncEvent p0); | ||
} |
10 changes: 10 additions & 0 deletions
10
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/DispatcherType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Generated automatically from javax.servlet.DispatcherType for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
|
||
public enum DispatcherType | ||
{ | ||
ASYNC, ERROR, FORWARD, INCLUDE, REQUEST; | ||
private DispatcherType() {} | ||
} |
15 changes: 15 additions & 0 deletions
15
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/Filter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Generated automatically from javax.servlet.Filter for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
import javax.servlet.FilterChain; | ||
import javax.servlet.FilterConfig; | ||
import javax.servlet.ServletRequest; | ||
import javax.servlet.ServletResponse; | ||
|
||
public interface Filter | ||
{ | ||
default void destroy(){} | ||
default void init(FilterConfig p0){} | ||
void doFilter(ServletRequest p0, ServletResponse p1, FilterChain p2); | ||
} |
11 changes: 11 additions & 0 deletions
11
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/FilterChain.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Generated automatically from javax.servlet.FilterChain for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
import javax.servlet.ServletRequest; | ||
import javax.servlet.ServletResponse; | ||
|
||
public interface FilterChain | ||
{ | ||
void doFilter(ServletRequest p0, ServletResponse p1); | ||
} |
14 changes: 14 additions & 0 deletions
14
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/FilterConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Generated automatically from javax.servlet.FilterConfig for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
import java.util.Enumeration; | ||
import javax.servlet.ServletContext; | ||
|
||
public interface FilterConfig | ||
{ | ||
Enumeration<String> getInitParameterNames(); | ||
ServletContext getServletContext(); | ||
String getFilterName(); | ||
String getInitParameter(String p0); | ||
} |
19 changes: 19 additions & 0 deletions
19
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/FilterRegistration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Generated automatically from javax.servlet.FilterRegistration for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
import java.util.Collection; | ||
import java.util.EnumSet; | ||
import javax.servlet.DispatcherType; | ||
import javax.servlet.Registration; | ||
|
||
public interface FilterRegistration extends Registration | ||
{ | ||
Collection<String> getServletNameMappings(); | ||
Collection<String> getUrlPatternMappings(); | ||
static public interface Dynamic extends FilterRegistration, Registration.Dynamic | ||
{ | ||
} | ||
void addMappingForServletNames(EnumSet<DispatcherType> p0, boolean p1, String... p2); | ||
void addMappingForUrlPatterns(EnumSet<DispatcherType> p0, boolean p1, String... p2); | ||
} |
16 changes: 16 additions & 0 deletions
16
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/HttpConstraintElement.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Generated automatically from javax.servlet.HttpConstraintElement for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
import javax.servlet.annotation.ServletSecurity; | ||
|
||
public class HttpConstraintElement | ||
{ | ||
public HttpConstraintElement(){} | ||
public HttpConstraintElement(ServletSecurity.EmptyRoleSemantic p0){} | ||
public HttpConstraintElement(ServletSecurity.EmptyRoleSemantic p0, ServletSecurity.TransportGuarantee p1, String... p2){} | ||
public HttpConstraintElement(ServletSecurity.TransportGuarantee p0, String... p1){} | ||
public ServletSecurity.EmptyRoleSemantic getEmptyRoleSemantic(){ return null; } | ||
public ServletSecurity.TransportGuarantee getTransportGuarantee(){ return null; } | ||
public String[] getRolesAllowed(){ return null; } | ||
} |
13 changes: 13 additions & 0 deletions
13
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/HttpMethodConstraintElement.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Generated automatically from javax.servlet.HttpMethodConstraintElement for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
import javax.servlet.HttpConstraintElement; | ||
|
||
public class HttpMethodConstraintElement extends HttpConstraintElement | ||
{ | ||
protected HttpMethodConstraintElement() {} | ||
public HttpMethodConstraintElement(String p0){} | ||
public HttpMethodConstraintElement(String p0, HttpConstraintElement p1){} | ||
public String getMethodName(){ return null; } | ||
} |
17 changes: 17 additions & 0 deletions
17
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/MultipartConfigElement.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Generated automatically from javax.servlet.MultipartConfigElement for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
import javax.servlet.annotation.MultipartConfig; | ||
|
||
public class MultipartConfigElement | ||
{ | ||
protected MultipartConfigElement() {} | ||
public MultipartConfigElement(MultipartConfig p0){} | ||
public MultipartConfigElement(String p0){} | ||
public MultipartConfigElement(String p0, long p1, long p2, int p3){} | ||
public String getLocation(){ return null; } | ||
public int getFileSizeThreshold(){ return 0; } | ||
public long getMaxFileSize(){ return 0; } | ||
public long getMaxRequestSize(){ return 0; } | ||
} |
12 changes: 12 additions & 0 deletions
12
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/ReadListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Generated automatically from javax.servlet.ReadListener for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
import java.util.EventListener; | ||
|
||
public interface ReadListener extends EventListener | ||
{ | ||
void onAllDataRead(); | ||
void onDataAvailable(); | ||
void onError(Throwable p0); | ||
} |
20 changes: 20 additions & 0 deletions
20
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/Registration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Generated automatically from javax.servlet.Registration for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
import java.util.Map; | ||
import java.util.Set; | ||
|
||
public interface Registration | ||
{ | ||
Map<String, String> getInitParameters(); | ||
Set<String> setInitParameters(Map<String, String> p0); | ||
String getClassName(); | ||
String getInitParameter(String p0); | ||
String getName(); | ||
boolean setInitParameter(String p0, String p1); | ||
static public interface Dynamic extends Registration | ||
{ | ||
void setAsyncSupported(boolean p0); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
java/ql/test/stubs/javax-servlet-2.5/javax/servlet/ServletRegistration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// Generated automatically from javax.servlet.ServletRegistration for testing purposes | ||
|
||
package javax.servlet; | ||
|
||
import java.util.Collection; | ||
import java.util.Set; | ||
import javax.servlet.MultipartConfigElement; | ||
import javax.servlet.Registration; | ||
import javax.servlet.ServletSecurityElement; | ||
|
||
public interface ServletRegistration extends Registration | ||
{ | ||
Collection<String> getMappings(); | ||
Set<String> addMapping(String... p0); | ||
String getRunAsRole(); | ||
static public interface Dynamic extends Registration.Dynamic, ServletRegistration | ||
{ | ||
Set<String> setServletSecurity(ServletSecurityElement p0); | ||
void setLoadOnStartup(int p0); | ||
void setMultipartConfig(MultipartConfigElement p0); | ||
void setRunAsRole(String p0); | ||
} | ||
} |
Oops, something went wrong.