diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ServerSocketFactory.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ServerSocketFactory.java deleted file mode 100644 index 2f4732a4ec0..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ServerSocketFactory.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from javax.net.ServerSocketFactory for testing purposes - -package javax.net; - -import java.net.InetAddress; -import java.net.ServerSocket; - -abstract public class ServerSocketFactory -{ - protected ServerSocketFactory(){} - public ServerSocket createServerSocket(){ return null; } - public abstract ServerSocket createServerSocket(int p0); - public abstract ServerSocket createServerSocket(int p0, int p1); - public abstract ServerSocket createServerSocket(int p0, int p1, InetAddress p2); - public static ServerSocketFactory getDefault(){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/SocketFactory.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/SocketFactory.java deleted file mode 100644 index ddab28a7fc8..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/SocketFactory.java +++ /dev/null @@ -1,17 +0,0 @@ -// Generated automatically from javax.net.SocketFactory for testing purposes - -package javax.net; - -import java.net.InetAddress; -import java.net.Socket; - -abstract public class SocketFactory -{ - protected SocketFactory(){} - public Socket createSocket(){ return null; } - public abstract Socket createSocket(InetAddress p0, int p1); - public abstract Socket createSocket(InetAddress p0, int p1, InetAddress p2, int p3); - public abstract Socket createSocket(String p0, int p1); - public abstract Socket createSocket(String p0, int p1, InetAddress p2, int p3); - public static SocketFactory getDefault(){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/KeyManager.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/KeyManager.java deleted file mode 100644 index f7333612723..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/KeyManager.java +++ /dev/null @@ -1,8 +0,0 @@ -// Generated automatically from javax.net.ssl.KeyManager for testing purposes - -package javax.net.ssl; - - -public interface KeyManager -{ -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SNIMatcher.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SNIMatcher.java deleted file mode 100644 index 4a346519f18..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SNIMatcher.java +++ /dev/null @@ -1,13 +0,0 @@ -// Generated automatically from javax.net.ssl.SNIMatcher for testing purposes - -package javax.net.ssl; - -import javax.net.ssl.SNIServerName; - -abstract public class SNIMatcher -{ - protected SNIMatcher() {} - protected SNIMatcher(int p0){} - public abstract boolean matches(SNIServerName p0); - public final int getType(){ return 0; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SNIServerName.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SNIServerName.java deleted file mode 100644 index 119f884b2e6..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SNIServerName.java +++ /dev/null @@ -1,15 +0,0 @@ -// Generated automatically from javax.net.ssl.SNIServerName for testing purposes - -package javax.net.ssl; - - -abstract public class SNIServerName -{ - protected SNIServerName() {} - protected SNIServerName(int p0, byte[] p1){} - public String toString(){ return null; } - public boolean equals(Object p0){ return false; } - public final byte[] getEncoded(){ return null; } - public final int getType(){ return 0; } - public int hashCode(){ return 0; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLContext.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLContext.java deleted file mode 100644 index 4bd93e3b71d..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLContext.java +++ /dev/null @@ -1,36 +0,0 @@ -// Generated automatically from javax.net.ssl.SSLContext for testing purposes - -package javax.net.ssl; - -import java.security.Provider; -import java.security.SecureRandom; -import javax.net.ssl.KeyManager; -import javax.net.ssl.SSLContextSpi; -import javax.net.ssl.SSLEngine; -import javax.net.ssl.SSLParameters; -import javax.net.ssl.SSLServerSocketFactory; -import javax.net.ssl.SSLSessionContext; -import javax.net.ssl.SSLSocketFactory; -import javax.net.ssl.TrustManager; - -public class SSLContext -{ - protected SSLContext() {} - protected SSLContext(SSLContextSpi p0, Provider p1, String p2){} - public final Provider getProvider(){ return null; } - public final SSLEngine createSSLEngine(){ return null; } - public final SSLEngine createSSLEngine(String p0, int p1){ return null; } - public final SSLParameters getDefaultSSLParameters(){ return null; } - public final SSLParameters getSupportedSSLParameters(){ return null; } - public final SSLServerSocketFactory getServerSocketFactory(){ return null; } - public final SSLSessionContext getClientSessionContext(){ return null; } - public final SSLSessionContext getServerSessionContext(){ return null; } - public final SSLSocketFactory getSocketFactory(){ return null; } - public final String getProtocol(){ return null; } - public final void init(KeyManager[] p0, TrustManager[] p1, SecureRandom p2){} - public static SSLContext getDefault(){ return null; } - public static SSLContext getInstance(String p0){ return null; } - public static SSLContext getInstance(String p0, Provider p1){ return null; } - public static SSLContext getInstance(String p0, String p1){ return null; } - public static void setDefault(SSLContext p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLContextSpi.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLContextSpi.java deleted file mode 100644 index 0229edd6d42..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLContextSpi.java +++ /dev/null @@ -1,26 +0,0 @@ -// Generated automatically from javax.net.ssl.SSLContextSpi for testing purposes - -package javax.net.ssl; - -import java.security.SecureRandom; -import javax.net.ssl.KeyManager; -import javax.net.ssl.SSLEngine; -import javax.net.ssl.SSLParameters; -import javax.net.ssl.SSLServerSocketFactory; -import javax.net.ssl.SSLSessionContext; -import javax.net.ssl.SSLSocketFactory; -import javax.net.ssl.TrustManager; - -abstract public class SSLContextSpi -{ - protected SSLParameters engineGetDefaultSSLParameters(){ return null; } - protected SSLParameters engineGetSupportedSSLParameters(){ return null; } - protected abstract SSLEngine engineCreateSSLEngine(); - protected abstract SSLEngine engineCreateSSLEngine(String p0, int p1); - protected abstract SSLServerSocketFactory engineGetServerSocketFactory(); - protected abstract SSLSessionContext engineGetClientSessionContext(); - protected abstract SSLSessionContext engineGetServerSessionContext(); - protected abstract SSLSocketFactory engineGetSocketFactory(); - protected abstract void engineInit(KeyManager[] p0, TrustManager[] p1, SecureRandom p2); - public SSLContextSpi(){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLEngine.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLEngine.java deleted file mode 100644 index aae661e6263..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLEngine.java +++ /dev/null @@ -1,53 +0,0 @@ -// Generated automatically from javax.net.ssl.SSLEngine for testing purposes - -package javax.net.ssl; - -import java.nio.ByteBuffer; -import java.util.List; -import java.util.function.BiFunction; -import javax.net.ssl.SSLEngineResult; -import javax.net.ssl.SSLParameters; -import javax.net.ssl.SSLSession; - -abstract public class SSLEngine -{ - protected SSLEngine(){} - protected SSLEngine(String p0, int p1){} - public BiFunction, String> getHandshakeApplicationProtocolSelector(){ return null; } - public SSLEngineResult unwrap(ByteBuffer p0, ByteBuffer p1){ return null; } - public SSLEngineResult unwrap(ByteBuffer p0, ByteBuffer[] p1){ return null; } - public SSLEngineResult wrap(ByteBuffer p0, ByteBuffer p1){ return null; } - public SSLEngineResult wrap(ByteBuffer[] p0, ByteBuffer p1){ return null; } - public SSLParameters getSSLParameters(){ return null; } - public SSLSession getHandshakeSession(){ return null; } - public String getApplicationProtocol(){ return null; } - public String getHandshakeApplicationProtocol(){ return null; } - public String getPeerHost(){ return null; } - public abstract Runnable getDelegatedTask(); - public abstract SSLEngineResult unwrap(ByteBuffer p0, ByteBuffer[] p1, int p2, int p3); - public abstract SSLEngineResult wrap(ByteBuffer[] p0, int p1, int p2, ByteBuffer p3); - public abstract SSLEngineResult.HandshakeStatus getHandshakeStatus(); - public abstract SSLSession getSession(); - public abstract String[] getEnabledCipherSuites(); - public abstract String[] getEnabledProtocols(); - public abstract String[] getSupportedCipherSuites(); - public abstract String[] getSupportedProtocols(); - public abstract boolean getEnableSessionCreation(); - public abstract boolean getNeedClientAuth(); - public abstract boolean getUseClientMode(); - public abstract boolean getWantClientAuth(); - public abstract boolean isInboundDone(); - public abstract boolean isOutboundDone(); - public abstract void beginHandshake(); - public abstract void closeInbound(); - public abstract void closeOutbound(); - public abstract void setEnableSessionCreation(boolean p0); - public abstract void setEnabledCipherSuites(String[] p0); - public abstract void setEnabledProtocols(String[] p0); - public abstract void setNeedClientAuth(boolean p0); - public abstract void setUseClientMode(boolean p0); - public abstract void setWantClientAuth(boolean p0); - public int getPeerPort(){ return 0; } - public void setHandshakeApplicationProtocolSelector(BiFunction, String> p0){} - public void setSSLParameters(SSLParameters p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLEngineResult.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLEngineResult.java deleted file mode 100644 index 3dd56b4b017..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLEngineResult.java +++ /dev/null @@ -1,25 +0,0 @@ -// Generated automatically from javax.net.ssl.SSLEngineResult for testing purposes - -package javax.net.ssl; - - -public class SSLEngineResult -{ - protected SSLEngineResult() {} - public SSLEngineResult(SSLEngineResult.Status p0, SSLEngineResult.HandshakeStatus p1, int p2, int p3){} - public String toString(){ return null; } - public final SSLEngineResult.HandshakeStatus getHandshakeStatus(){ return null; } - public final SSLEngineResult.Status getStatus(){ return null; } - public final int bytesConsumed(){ return 0; } - public final int bytesProduced(){ return 0; } - static public enum HandshakeStatus - { - FINISHED, NEED_TASK, NEED_UNWRAP, NEED_WRAP, NOT_HANDSHAKING; - private HandshakeStatus() {} - } - static public enum Status - { - BUFFER_OVERFLOW, BUFFER_UNDERFLOW, CLOSED, OK; - private Status() {} - } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLParameters.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLParameters.java deleted file mode 100644 index 522fde0d61f..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLParameters.java +++ /dev/null @@ -1,36 +0,0 @@ -// Generated automatically from javax.net.ssl.SSLParameters for testing purposes - -package javax.net.ssl; - -import java.security.AlgorithmConstraints; -import java.util.Collection; -import java.util.List; -import javax.net.ssl.SNIMatcher; -import javax.net.ssl.SNIServerName; - -public class SSLParameters -{ - public AlgorithmConstraints getAlgorithmConstraints(){ return null; } - public SSLParameters(){} - public SSLParameters(String[] p0){} - public SSLParameters(String[] p0, String[] p1){} - public String getEndpointIdentificationAlgorithm(){ return null; } - public String[] getApplicationProtocols(){ return null; } - public String[] getCipherSuites(){ return null; } - public String[] getProtocols(){ return null; } - public boolean getNeedClientAuth(){ return false; } - public boolean getWantClientAuth(){ return false; } - public final Collection getSNIMatchers(){ return null; } - public final List getServerNames(){ return null; } - public final boolean getUseCipherSuitesOrder(){ return false; } - public final void setSNIMatchers(Collection p0){} - public final void setServerNames(List p0){} - public final void setUseCipherSuitesOrder(boolean p0){} - public void setAlgorithmConstraints(AlgorithmConstraints p0){} - public void setApplicationProtocols(String[] p0){} - public void setCipherSuites(String[] p0){} - public void setEndpointIdentificationAlgorithm(String p0){} - public void setNeedClientAuth(boolean p0){} - public void setProtocols(String[] p0){} - public void setWantClientAuth(boolean p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLServerSocketFactory.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLServerSocketFactory.java deleted file mode 100644 index 9a76e454b3d..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLServerSocketFactory.java +++ /dev/null @@ -1,13 +0,0 @@ -// Generated automatically from javax.net.ssl.SSLServerSocketFactory for testing purposes - -package javax.net.ssl; - -import javax.net.ServerSocketFactory; - -abstract public class SSLServerSocketFactory extends ServerSocketFactory -{ - protected SSLServerSocketFactory(){} - public abstract String[] getDefaultCipherSuites(); - public abstract String[] getSupportedCipherSuites(); - public static ServerSocketFactory getDefault(){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSession.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSession.java deleted file mode 100644 index 9afb7abecb3..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSession.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated automatically from javax.net.ssl.SSLSession for testing purposes - -package javax.net.ssl; - -import java.security.Principal; -import java.security.cert.Certificate; -import javax.net.ssl.SSLSessionContext; -import javax.security.cert.X509Certificate; - -public interface SSLSession -{ - Certificate[] getLocalCertificates(); - Certificate[] getPeerCertificates(); - Object getValue(String p0); - Principal getLocalPrincipal(); - Principal getPeerPrincipal(); - SSLSessionContext getSessionContext(); - String getCipherSuite(); - String getPeerHost(); - String getProtocol(); - String[] getValueNames(); - X509Certificate[] getPeerCertificateChain(); - boolean isValid(); - byte[] getId(); - int getApplicationBufferSize(); - int getPacketBufferSize(); - int getPeerPort(); - long getCreationTime(); - long getLastAccessedTime(); - void invalidate(); - void putValue(String p0, Object p1); - void removeValue(String p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSessionContext.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSessionContext.java deleted file mode 100644 index c0d9c6ef650..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSessionContext.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from javax.net.ssl.SSLSessionContext for testing purposes - -package javax.net.ssl; - -import java.util.Enumeration; -import javax.net.ssl.SSLSession; - -public interface SSLSessionContext -{ - Enumeration getIds(); - SSLSession getSession(byte[] p0); - int getSessionCacheSize(); - int getSessionTimeout(); - void setSessionCacheSize(int p0); - void setSessionTimeout(int p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSocketFactory.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSocketFactory.java deleted file mode 100644 index 47c40526842..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSocketFactory.java +++ /dev/null @@ -1,17 +0,0 @@ -// Generated automatically from javax.net.ssl.SSLSocketFactory for testing purposes - -package javax.net.ssl; - -import java.io.InputStream; -import java.net.Socket; -import javax.net.SocketFactory; - -abstract public class SSLSocketFactory extends SocketFactory -{ - public SSLSocketFactory(){} - public Socket createSocket(Socket p0, InputStream p1, boolean p2){ return null; } - public abstract Socket createSocket(Socket p0, String p1, int p2, boolean p3); - public abstract String[] getDefaultCipherSuites(); - public abstract String[] getSupportedCipherSuites(); - public static SocketFactory getDefault(){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/TrustManager.java b/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/TrustManager.java deleted file mode 100644 index 6698b99ac42..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/TrustManager.java +++ /dev/null @@ -1,8 +0,0 @@ -// Generated automatically from javax.net.ssl.TrustManager for testing purposes - -package javax.net.ssl; - - -public interface TrustManager -{ -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/security/cert/Certificate.java b/java/ql/test/stubs/apache-http-5-Generated/javax/security/cert/Certificate.java deleted file mode 100644 index 56545088a1b..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/security/cert/Certificate.java +++ /dev/null @@ -1,17 +0,0 @@ -// Generated automatically from javax.security.cert.Certificate for testing purposes - -package javax.security.cert; - -import java.security.PublicKey; - -abstract public class Certificate -{ - public Certificate(){} - public abstract PublicKey getPublicKey(); - public abstract String toString(); - public abstract byte[] getEncoded(); - public abstract void verify(PublicKey p0); - public abstract void verify(PublicKey p0, String p1); - public boolean equals(Object p0){ return false; } - public int hashCode(){ return 0; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/security/cert/X509Certificate.java b/java/ql/test/stubs/apache-http-5-Generated/javax/security/cert/X509Certificate.java deleted file mode 100644 index ab526d827a3..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/security/cert/X509Certificate.java +++ /dev/null @@ -1,27 +0,0 @@ -// Generated automatically from javax.security.cert.X509Certificate for testing purposes - -package javax.security.cert; - -import java.io.InputStream; -import java.math.BigInteger; -import java.security.Principal; -import java.util.Date; -import javax.security.cert.Certificate; - -abstract public class X509Certificate extends Certificate -{ - public X509Certificate(){} - public abstract BigInteger getSerialNumber(); - public abstract Date getNotAfter(); - public abstract Date getNotBefore(); - public abstract Principal getIssuerDN(); - public abstract Principal getSubjectDN(); - public abstract String getSigAlgName(); - public abstract String getSigAlgOID(); - public abstract byte[] getSigAlgParams(); - public abstract int getVersion(); - public abstract void checkValidity(); - public abstract void checkValidity(Date p0); - public static X509Certificate getInstance(InputStream p0){ return null; } - public static X509Certificate getInstance(byte[] p0){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncContext.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncContext.java deleted file mode 100644 index 70a39f55ac9..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncContext.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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 createListener(java.lang.Class 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); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncEvent.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncEvent.java deleted file mode 100644 index d7cb9c2b175..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncEvent.java +++ /dev/null @@ -1,20 +0,0 @@ -// 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; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncListener.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncListener.java deleted file mode 100644 index 2723482f668..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncListener.java +++ /dev/null @@ -1,14 +0,0 @@ -// 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); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/DispatcherType.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/DispatcherType.java deleted file mode 100644 index 2b7b44f328d..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/DispatcherType.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from javax.servlet.DispatcherType for testing purposes - -package javax.servlet; - - -public enum DispatcherType -{ - ASYNC, ERROR, FORWARD, INCLUDE, REQUEST; - private DispatcherType() {} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Filter.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Filter.java deleted file mode 100644 index 64b9f9d73a8..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Filter.java +++ /dev/null @@ -1,15 +0,0 @@ -// 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); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterChain.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterChain.java deleted file mode 100644 index f64ab722684..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterChain.java +++ /dev/null @@ -1,11 +0,0 @@ -// 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); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterConfig.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterConfig.java deleted file mode 100644 index 0e140c6680c..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterConfig.java +++ /dev/null @@ -1,14 +0,0 @@ -// Generated automatically from javax.servlet.FilterConfig for testing purposes - -package javax.servlet; - -import java.util.Enumeration; -import javax.servlet.ServletContext; - -public interface FilterConfig -{ - Enumeration getInitParameterNames(); - ServletContext getServletContext(); - String getFilterName(); - String getInitParameter(String p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterRegistration.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterRegistration.java deleted file mode 100644 index 6ad0739ceb6..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterRegistration.java +++ /dev/null @@ -1,19 +0,0 @@ -// 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 getServletNameMappings(); - Collection getUrlPatternMappings(); - static public interface Dynamic extends FilterRegistration, Registration.Dynamic - { - } - void addMappingForServletNames(EnumSet p0, boolean p1, String... p2); - void addMappingForUrlPatterns(EnumSet p0, boolean p1, String... p2); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/GenericServlet.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/GenericServlet.java deleted file mode 100644 index 5f7bdcda487..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/GenericServlet.java +++ /dev/null @@ -1,28 +0,0 @@ -// Generated automatically from javax.servlet.GenericServlet for testing purposes - -package javax.servlet; - -import java.io.Serializable; -import java.util.Enumeration; -import javax.servlet.Servlet; -import javax.servlet.ServletConfig; -import javax.servlet.ServletContext; -import javax.servlet.ServletRequest; -import javax.servlet.ServletResponse; - -abstract public class GenericServlet implements Serializable, Servlet, ServletConfig -{ - public Enumeration getInitParameterNames(){ return null; } - public GenericServlet(){} - public ServletConfig getServletConfig(){ return null; } - public ServletContext getServletContext(){ return null; } - public String getInitParameter(String p0){ return null; } - public String getServletInfo(){ return null; } - public String getServletName(){ return null; } - public abstract void service(ServletRequest p0, ServletResponse p1); - public void destroy(){} - public void init(){} - public void init(ServletConfig p0){} - public void log(String p0){} - public void log(String p0, Throwable p1){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/HttpConstraintElement.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/HttpConstraintElement.java deleted file mode 100644 index 6598aa47cc5..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/HttpConstraintElement.java +++ /dev/null @@ -1,16 +0,0 @@ -// 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; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/HttpMethodConstraintElement.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/HttpMethodConstraintElement.java deleted file mode 100644 index ddb52527004..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/HttpMethodConstraintElement.java +++ /dev/null @@ -1,13 +0,0 @@ -// 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; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/MultipartConfigElement.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/MultipartConfigElement.java deleted file mode 100644 index 8470d9a5317..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/MultipartConfigElement.java +++ /dev/null @@ -1,17 +0,0 @@ -// 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; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ReadListener.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ReadListener.java deleted file mode 100644 index 367594ef7da..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ReadListener.java +++ /dev/null @@ -1,12 +0,0 @@ -// 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); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Registration.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Registration.java deleted file mode 100644 index 5d4095813ef..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Registration.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated automatically from javax.servlet.Registration for testing purposes - -package javax.servlet; - -import java.util.Map; -import java.util.Set; - -public interface Registration -{ - Map getInitParameters(); - Set setInitParameters(Map 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); - } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/RequestDispatcher.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/RequestDispatcher.java deleted file mode 100644 index ad017e4f501..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/RequestDispatcher.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated automatically from javax.servlet.RequestDispatcher for testing purposes - -package javax.servlet; - -import javax.servlet.ServletRequest; -import javax.servlet.ServletResponse; - -public interface RequestDispatcher -{ - static String ERROR_EXCEPTION = null; - static String ERROR_EXCEPTION_TYPE = null; - static String ERROR_MESSAGE = null; - static String ERROR_REQUEST_URI = null; - static String ERROR_SERVLET_NAME = null; - static String ERROR_STATUS_CODE = null; - static String FORWARD_CONTEXT_PATH = null; - static String FORWARD_MAPPING = null; - static String FORWARD_PATH_INFO = null; - static String FORWARD_QUERY_STRING = null; - static String FORWARD_REQUEST_URI = null; - static String FORWARD_SERVLET_PATH = null; - static String INCLUDE_CONTEXT_PATH = null; - static String INCLUDE_MAPPING = null; - static String INCLUDE_PATH_INFO = null; - static String INCLUDE_QUERY_STRING = null; - static String INCLUDE_REQUEST_URI = null; - static String INCLUDE_SERVLET_PATH = null; - void forward(ServletRequest p0, ServletResponse p1); - void include(ServletRequest p0, ServletResponse p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Servlet.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Servlet.java deleted file mode 100644 index 231c011a6f8..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Servlet.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from javax.servlet.Servlet for testing purposes - -package javax.servlet; - -import javax.servlet.ServletConfig; -import javax.servlet.ServletRequest; -import javax.servlet.ServletResponse; - -public interface Servlet -{ - ServletConfig getServletConfig(); - String getServletInfo(); - void destroy(); - void init(ServletConfig p0); - void service(ServletRequest p0, ServletResponse p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletConfig.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletConfig.java deleted file mode 100644 index c483c16ac4e..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletConfig.java +++ /dev/null @@ -1,14 +0,0 @@ -// Generated automatically from javax.servlet.ServletConfig for testing purposes - -package javax.servlet; - -import java.util.Enumeration; -import javax.servlet.ServletContext; - -public interface ServletConfig -{ - Enumeration getInitParameterNames(); - ServletContext getServletContext(); - String getInitParameter(String p0); - String getServletName(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletContext.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletContext.java deleted file mode 100644 index 812393f61e9..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletContext.java +++ /dev/null @@ -1,83 +0,0 @@ -// Generated automatically from javax.servlet.ServletContext for testing purposes - -package javax.servlet; - -import java.io.InputStream; -import java.net.URL; -import java.util.Enumeration; -import java.util.EventListener; -import java.util.Map; -import java.util.Set; -import javax.servlet.Filter; -import javax.servlet.FilterRegistration; -import javax.servlet.RequestDispatcher; -import javax.servlet.Servlet; -import javax.servlet.ServletRegistration; -import javax.servlet.SessionCookieConfig; -import javax.servlet.SessionTrackingMode; -import javax.servlet.descriptor.JspConfigDescriptor; - -public interface ServletContext -{ - T createListener(java.lang.Class p0); - void addListener(T p0); - T createFilter(java.lang.Class p0); - T createServlet(java.lang.Class p0); - ClassLoader getClassLoader(); - Enumeration getServlets(); - Enumeration getAttributeNames(); - Enumeration getInitParameterNames(); - Enumeration getServletNames(); - FilterRegistration getFilterRegistration(String p0); - FilterRegistration.Dynamic addFilter(String p0, Class p1); - FilterRegistration.Dynamic addFilter(String p0, Filter p1); - FilterRegistration.Dynamic addFilter(String p0, String p1); - InputStream getResourceAsStream(String p0); - JspConfigDescriptor getJspConfigDescriptor(); - Map getFilterRegistrations(); - Map getServletRegistrations(); - Object getAttribute(String p0); - RequestDispatcher getNamedDispatcher(String p0); - RequestDispatcher getRequestDispatcher(String p0); - Servlet getServlet(String p0); - ServletContext getContext(String p0); - ServletRegistration getServletRegistration(String p0); - ServletRegistration.Dynamic addJspFile(String p0, String p1); - ServletRegistration.Dynamic addServlet(String p0, Class p1); - ServletRegistration.Dynamic addServlet(String p0, Servlet p1); - ServletRegistration.Dynamic addServlet(String p0, String p1); - SessionCookieConfig getSessionCookieConfig(); - Set getDefaultSessionTrackingModes(); - Set getEffectiveSessionTrackingModes(); - Set getResourcePaths(String p0); - String getContextPath(); - String getInitParameter(String p0); - String getMimeType(String p0); - String getRealPath(String p0); - String getRequestCharacterEncoding(); - String getResponseCharacterEncoding(); - String getServerInfo(); - String getServletContextName(); - String getVirtualServerName(); - URL getResource(String p0); - boolean setInitParameter(String p0, String p1); - int getEffectiveMajorVersion(); - int getEffectiveMinorVersion(); - int getMajorVersion(); - int getMinorVersion(); - int getSessionTimeout(); - static String ORDERED_LIBS = null; - static String TEMPDIR = null; - void addListener(Class p0); - void addListener(String p0); - void declareRoles(String... p0); - void log(Exception p0, String p1); - void log(String p0); - void log(String p0, Throwable p1); - void removeAttribute(String p0); - void setAttribute(String p0, Object p1); - void setRequestCharacterEncoding(String p0); - void setResponseCharacterEncoding(String p0); - void setSessionTimeout(int p0); - void setSessionTrackingModes(Set p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletInputStream.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletInputStream.java deleted file mode 100644 index 31034066970..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletInputStream.java +++ /dev/null @@ -1,15 +0,0 @@ -// Generated automatically from javax.servlet.ServletInputStream for testing purposes - -package javax.servlet; - -import java.io.InputStream; -import javax.servlet.ReadListener; - -abstract public class ServletInputStream extends InputStream -{ - protected ServletInputStream(){} - public abstract boolean isFinished(); - public abstract boolean isReady(); - public abstract void setReadListener(ReadListener p0); - public int readLine(byte[] p0, int p1, int p2){ return 0; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletOutputStream.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletOutputStream.java deleted file mode 100644 index 52a2162c9eb..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletOutputStream.java +++ /dev/null @@ -1,28 +0,0 @@ -// Generated automatically from javax.servlet.ServletOutputStream for testing purposes - -package javax.servlet; - -import java.io.OutputStream; -import javax.servlet.WriteListener; - -abstract public class ServletOutputStream extends OutputStream -{ - protected ServletOutputStream(){} - public abstract boolean isReady(); - public abstract void setWriteListener(WriteListener p0); - public void print(String p0){} - public void print(boolean p0){} - public void print(char p0){} - public void print(double p0){} - public void print(float p0){} - public void print(int p0){} - public void print(long p0){} - public void println(){} - public void println(String p0){} - public void println(boolean p0){} - public void println(char p0){} - public void println(double p0){} - public void println(float p0){} - public void println(int p0){} - public void println(long p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletRegistration.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletRegistration.java deleted file mode 100644 index a1cc66f2d19..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletRegistration.java +++ /dev/null @@ -1,23 +0,0 @@ -// 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 getMappings(); - Set addMapping(String... p0); - String getRunAsRole(); - static public interface Dynamic extends Registration.Dynamic, ServletRegistration - { - Set setServletSecurity(ServletSecurityElement p0); - void setLoadOnStartup(int p0); - void setMultipartConfig(MultipartConfigElement p0); - void setRunAsRole(String p0); - } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletRequest.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletRequest.java deleted file mode 100644 index fc0db462cc0..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletRequest.java +++ /dev/null @@ -1,55 +0,0 @@ -// Generated automatically from javax.servlet.ServletRequest for testing purposes - -package javax.servlet; - -import java.io.BufferedReader; -import java.util.Enumeration; -import java.util.Locale; -import java.util.Map; -import javax.servlet.AsyncContext; -import javax.servlet.DispatcherType; -import javax.servlet.RequestDispatcher; -import javax.servlet.ServletContext; -import javax.servlet.ServletInputStream; -import javax.servlet.ServletResponse; - -public interface ServletRequest -{ - AsyncContext getAsyncContext(); - AsyncContext startAsync(); - AsyncContext startAsync(ServletRequest p0, ServletResponse p1); - BufferedReader getReader(); - DispatcherType getDispatcherType(); - Enumeration getLocales(); - Enumeration getAttributeNames(); - Enumeration getParameterNames(); - Locale getLocale(); - Map getParameterMap(); - Object getAttribute(String p0); - RequestDispatcher getRequestDispatcher(String p0); - ServletContext getServletContext(); - ServletInputStream getInputStream(); - String getCharacterEncoding(); - String getContentType(); - String getLocalAddr(); - String getLocalName(); - String getParameter(String p0); - String getProtocol(); - String getRealPath(String p0); - String getRemoteAddr(); - String getRemoteHost(); - String getScheme(); - String getServerName(); - String[] getParameterValues(String p0); - boolean isAsyncStarted(); - boolean isAsyncSupported(); - boolean isSecure(); - int getContentLength(); - int getLocalPort(); - int getRemotePort(); - int getServerPort(); - long getContentLengthLong(); - void removeAttribute(String p0); - void setAttribute(String p0, Object p1); - void setCharacterEncoding(String p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletResponse.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletResponse.java deleted file mode 100644 index db6610bc15d..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletResponse.java +++ /dev/null @@ -1,27 +0,0 @@ -// Generated automatically from javax.servlet.ServletResponse for testing purposes - -package javax.servlet; - -import java.io.PrintWriter; -import java.util.Locale; -import javax.servlet.ServletOutputStream; - -public interface ServletResponse -{ - Locale getLocale(); - PrintWriter getWriter(); - ServletOutputStream getOutputStream(); - String getCharacterEncoding(); - String getContentType(); - boolean isCommitted(); - int getBufferSize(); - void flushBuffer(); - void reset(); - void resetBuffer(); - void setBufferSize(int p0); - void setCharacterEncoding(String p0); - void setContentLength(int p0); - void setContentLengthLong(long p0); - void setContentType(String p0); - void setLocale(Locale p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletSecurityElement.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletSecurityElement.java deleted file mode 100644 index def47937391..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletSecurityElement.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated automatically from javax.servlet.ServletSecurityElement for testing purposes - -package javax.servlet; - -import java.util.Collection; -import javax.servlet.HttpConstraintElement; -import javax.servlet.HttpMethodConstraintElement; -import javax.servlet.annotation.ServletSecurity; - -public class ServletSecurityElement extends HttpConstraintElement -{ - public Collection getHttpMethodConstraints(){ return null; } - public Collection getMethodNames(){ return null; } - public ServletSecurityElement(){} - public ServletSecurityElement(Collection p0){} - public ServletSecurityElement(HttpConstraintElement p0){} - public ServletSecurityElement(HttpConstraintElement p0, Collection p1){} - public ServletSecurityElement(ServletSecurity p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/SessionCookieConfig.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/SessionCookieConfig.java deleted file mode 100644 index 4cae9a11f30..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/SessionCookieConfig.java +++ /dev/null @@ -1,22 +0,0 @@ -// Generated automatically from javax.servlet.SessionCookieConfig for testing purposes - -package javax.servlet; - - -public interface SessionCookieConfig -{ - String getComment(); - String getDomain(); - String getName(); - String getPath(); - boolean isHttpOnly(); - boolean isSecure(); - int getMaxAge(); - void setComment(String p0); - void setDomain(String p0); - void setHttpOnly(boolean p0); - void setMaxAge(int p0); - void setName(String p0); - void setPath(String p0); - void setSecure(boolean p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/SessionTrackingMode.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/SessionTrackingMode.java deleted file mode 100644 index 684ac40c56f..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/SessionTrackingMode.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from javax.servlet.SessionTrackingMode for testing purposes - -package javax.servlet; - - -public enum SessionTrackingMode -{ - COOKIE, SSL, URL; - private SessionTrackingMode() {} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/WriteListener.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/WriteListener.java deleted file mode 100644 index 24fe504271c..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/WriteListener.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from javax.servlet.WriteListener for testing purposes - -package javax.servlet; - -import java.util.EventListener; - -public interface WriteListener extends EventListener -{ - void onError(Throwable p0); - void onWritePossible(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/HttpConstraint.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/HttpConstraint.java deleted file mode 100644 index f47efc62744..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/HttpConstraint.java +++ /dev/null @@ -1,18 +0,0 @@ -// Generated automatically from javax.servlet.annotation.HttpConstraint for testing purposes - -package javax.servlet.annotation; - -import java.lang.annotation.Annotation; -import java.lang.annotation.Documented; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import javax.servlet.annotation.ServletSecurity; - -@Documented -@Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME) -public @interface HttpConstraint -{ - ServletSecurity.EmptyRoleSemantic value(); - ServletSecurity.TransportGuarantee transportGuarantee(); - String[] rolesAllowed(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/HttpMethodConstraint.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/HttpMethodConstraint.java deleted file mode 100644 index 288f4651018..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/HttpMethodConstraint.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated automatically from javax.servlet.annotation.HttpMethodConstraint for testing purposes - -package javax.servlet.annotation; - -import java.lang.annotation.Annotation; -import java.lang.annotation.Documented; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import javax.servlet.annotation.ServletSecurity; - -@Documented -@Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME) -public @interface HttpMethodConstraint -{ - ServletSecurity.EmptyRoleSemantic emptyRoleSemantic(); - ServletSecurity.TransportGuarantee transportGuarantee(); - String value(); - String[] rolesAllowed(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/MultipartConfig.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/MultipartConfig.java deleted file mode 100644 index baccad3e199..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/MultipartConfig.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated automatically from javax.servlet.annotation.MultipartConfig for testing purposes - -package javax.servlet.annotation; - -import java.lang.annotation.Annotation; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -@Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME) -@Target(value={java.lang.annotation.ElementType.TYPE}) -public @interface MultipartConfig -{ - String location(); - int fileSizeThreshold(); - long maxFileSize(); - long maxRequestSize(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/ServletSecurity.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/ServletSecurity.java deleted file mode 100644 index 021b6c64c2a..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/ServletSecurity.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated automatically from javax.servlet.annotation.ServletSecurity for testing purposes - -package javax.servlet.annotation; - -import java.lang.annotation.Annotation; -import java.lang.annotation.Documented; -import java.lang.annotation.ElementType; -import java.lang.annotation.Inherited; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import javax.servlet.annotation.HttpConstraint; -import javax.servlet.annotation.HttpMethodConstraint; - -@Documented -@Inherited -@Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME) -@Target(value={java.lang.annotation.ElementType.TYPE}) -public @interface ServletSecurity -{ - HttpConstraint value(); - HttpMethodConstraint[] httpMethodConstraints(); - static public enum EmptyRoleSemantic - { - DENY, PERMIT; - private EmptyRoleSemantic() {} - } - static public enum TransportGuarantee - { - CONFIDENTIAL, NONE; - private TransportGuarantee() {} - } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/JspConfigDescriptor.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/JspConfigDescriptor.java deleted file mode 100644 index 8d93a4318d7..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/JspConfigDescriptor.java +++ /dev/null @@ -1,13 +0,0 @@ -// Generated automatically from javax.servlet.descriptor.JspConfigDescriptor for testing purposes - -package javax.servlet.descriptor; - -import java.util.Collection; -import javax.servlet.descriptor.JspPropertyGroupDescriptor; -import javax.servlet.descriptor.TaglibDescriptor; - -public interface JspConfigDescriptor -{ - Collection getJspPropertyGroups(); - Collection getTaglibs(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/JspPropertyGroupDescriptor.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/JspPropertyGroupDescriptor.java deleted file mode 100644 index dd852fa1088..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/JspPropertyGroupDescriptor.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated automatically from javax.servlet.descriptor.JspPropertyGroupDescriptor for testing purposes - -package javax.servlet.descriptor; - -import java.util.Collection; - -public interface JspPropertyGroupDescriptor -{ - Collection getIncludeCodas(); - Collection getIncludePreludes(); - Collection getUrlPatterns(); - String getBuffer(); - String getDefaultContentType(); - String getDeferredSyntaxAllowedAsLiteral(); - String getElIgnored(); - String getErrorOnUndeclaredNamespace(); - String getIsXml(); - String getPageEncoding(); - String getScriptingInvalid(); - String getTrimDirectiveWhitespaces(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/TaglibDescriptor.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/TaglibDescriptor.java deleted file mode 100644 index c3dd5c10473..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/TaglibDescriptor.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from javax.servlet.descriptor.TaglibDescriptor for testing purposes - -package javax.servlet.descriptor; - - -public interface TaglibDescriptor -{ - String getTaglibLocation(); - String getTaglibURI(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/Cookie.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/Cookie.java deleted file mode 100644 index b5a180029be..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/Cookie.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated automatically from javax.servlet.http.Cookie for testing purposes - -package javax.servlet.http; - -import java.io.Serializable; - -public class Cookie implements Cloneable, Serializable -{ - protected Cookie() {} - public Cookie(String p0, String p1){} - public Object clone(){ return null; } - public String getComment(){ return null; } - public String getDomain(){ return null; } - public String getName(){ return null; } - public String getPath(){ return null; } - public String getValue(){ return null; } - public boolean getSecure(){ return false; } - public boolean isHttpOnly(){ return false; } - public int getMaxAge(){ return 0; } - public int getVersion(){ return 0; } - public void setComment(String p0){} - public void setDomain(String p0){} - public void setHttpOnly(boolean p0){} - public void setMaxAge(int p0){} - public void setPath(String p0){} - public void setSecure(boolean p0){} - public void setValue(String p0){} - public void setVersion(int p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServlet.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServlet.java deleted file mode 100644 index 1247f956d78..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServlet.java +++ /dev/null @@ -1,24 +0,0 @@ -// Generated automatically from javax.servlet.http.HttpServlet for testing purposes - -package javax.servlet.http; - -import javax.servlet.GenericServlet; -import javax.servlet.ServletRequest; -import javax.servlet.ServletResponse; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; - -abstract public class HttpServlet extends GenericServlet -{ - protected long getLastModified(HttpServletRequest p0){ return 0; } - protected void doDelete(HttpServletRequest p0, HttpServletResponse p1){} - protected void doGet(HttpServletRequest p0, HttpServletResponse p1){} - protected void doHead(HttpServletRequest p0, HttpServletResponse p1){} - protected void doOptions(HttpServletRequest p0, HttpServletResponse p1){} - protected void doPost(HttpServletRequest p0, HttpServletResponse p1){} - protected void doPut(HttpServletRequest p0, HttpServletResponse p1){} - protected void doTrace(HttpServletRequest p0, HttpServletResponse p1){} - protected void service(HttpServletRequest p0, HttpServletResponse p1){} - public HttpServlet(){} - public void service(ServletRequest p0, ServletResponse p1){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletMapping.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletMapping.java deleted file mode 100644 index 1b597f27773..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletMapping.java +++ /dev/null @@ -1,13 +0,0 @@ -// Generated automatically from javax.servlet.http.HttpServletMapping for testing purposes - -package javax.servlet.http; - -import javax.servlet.http.MappingMatch; - -public interface HttpServletMapping -{ - MappingMatch getMappingMatch(); - String getMatchValue(); - String getPattern(); - String getServletName(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletRequest.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletRequest.java deleted file mode 100644 index 8612c34fb69..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletRequest.java +++ /dev/null @@ -1,60 +0,0 @@ -// Generated automatically from javax.servlet.http.HttpServletRequest for testing purposes - -package javax.servlet.http; - -import java.security.Principal; -import java.util.Collection; -import java.util.Enumeration; -import java.util.Map; -import javax.servlet.ServletRequest; -import javax.servlet.http.Cookie; -import javax.servlet.http.HttpServletMapping; -import javax.servlet.http.HttpServletResponse; -import javax.servlet.http.HttpSession; -import javax.servlet.http.HttpUpgradeHandler; -import javax.servlet.http.Part; -import javax.servlet.http.PushBuilder; - -public interface HttpServletRequest extends ServletRequest -{ - T upgrade(java.lang.Class p0); - Collection getParts(); - Cookie[] getCookies(); - Enumeration getHeaderNames(); - Enumeration getHeaders(String p0); - HttpSession getSession(); - HttpSession getSession(boolean p0); - Part getPart(String p0); - Principal getUserPrincipal(); - String changeSessionId(); - String getAuthType(); - String getContextPath(); - String getHeader(String p0); - String getMethod(); - String getPathInfo(); - String getPathTranslated(); - String getQueryString(); - String getRemoteUser(); - String getRequestURI(); - String getRequestedSessionId(); - String getServletPath(); - StringBuffer getRequestURL(); - boolean authenticate(HttpServletResponse p0); - boolean isRequestedSessionIdFromCookie(); - boolean isRequestedSessionIdFromURL(); - boolean isRequestedSessionIdFromUrl(); - boolean isRequestedSessionIdValid(); - boolean isUserInRole(String p0); - default HttpServletMapping getHttpServletMapping(){ return null; } - default Map getTrailerFields(){ return null; } - default PushBuilder newPushBuilder(){ return null; } - default boolean isTrailerFieldsReady(){ return false; } - int getIntHeader(String p0); - long getDateHeader(String p0); - static String BASIC_AUTH = null; - static String CLIENT_CERT_AUTH = null; - static String DIGEST_AUTH = null; - static String FORM_AUTH = null; - void login(String p0, String p1); - void logout(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletResponse.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletResponse.java deleted file mode 100644 index da902dbf30c..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletResponse.java +++ /dev/null @@ -1,77 +0,0 @@ -// Generated automatically from javax.servlet.http.HttpServletResponse for testing purposes - -package javax.servlet.http; - -import java.util.Collection; -import java.util.Map; -import java.util.function.Supplier; -import javax.servlet.ServletResponse; -import javax.servlet.http.Cookie; - -public interface HttpServletResponse extends ServletResponse -{ - Collection getHeaderNames(); - Collection getHeaders(String p0); - String encodeRedirectURL(String p0); - String encodeRedirectUrl(String p0); - String encodeURL(String p0); - String encodeUrl(String p0); - String getHeader(String p0); - boolean containsHeader(String p0); - default Supplier> getTrailerFields(){ return null; } - default void setTrailerFields(Supplier> p0){} - int getStatus(); - static int SC_ACCEPTED = 0; - static int SC_BAD_GATEWAY = 0; - static int SC_BAD_REQUEST = 0; - static int SC_CONFLICT = 0; - static int SC_CONTINUE = 0; - static int SC_CREATED = 0; - static int SC_EXPECTATION_FAILED = 0; - static int SC_FORBIDDEN = 0; - static int SC_FOUND = 0; - static int SC_GATEWAY_TIMEOUT = 0; - static int SC_GONE = 0; - static int SC_HTTP_VERSION_NOT_SUPPORTED = 0; - static int SC_INTERNAL_SERVER_ERROR = 0; - static int SC_LENGTH_REQUIRED = 0; - static int SC_METHOD_NOT_ALLOWED = 0; - static int SC_MOVED_PERMANENTLY = 0; - static int SC_MOVED_TEMPORARILY = 0; - static int SC_MULTIPLE_CHOICES = 0; - static int SC_NON_AUTHORITATIVE_INFORMATION = 0; - static int SC_NOT_ACCEPTABLE = 0; - static int SC_NOT_FOUND = 0; - static int SC_NOT_IMPLEMENTED = 0; - static int SC_NOT_MODIFIED = 0; - static int SC_NO_CONTENT = 0; - static int SC_OK = 0; - static int SC_PARTIAL_CONTENT = 0; - static int SC_PAYMENT_REQUIRED = 0; - static int SC_PRECONDITION_FAILED = 0; - static int SC_PROXY_AUTHENTICATION_REQUIRED = 0; - static int SC_REQUESTED_RANGE_NOT_SATISFIABLE = 0; - static int SC_REQUEST_ENTITY_TOO_LARGE = 0; - static int SC_REQUEST_TIMEOUT = 0; - static int SC_REQUEST_URI_TOO_LONG = 0; - static int SC_RESET_CONTENT = 0; - static int SC_SEE_OTHER = 0; - static int SC_SERVICE_UNAVAILABLE = 0; - static int SC_SWITCHING_PROTOCOLS = 0; - static int SC_TEMPORARY_REDIRECT = 0; - static int SC_UNAUTHORIZED = 0; - static int SC_UNSUPPORTED_MEDIA_TYPE = 0; - static int SC_USE_PROXY = 0; - void addCookie(Cookie p0); - void addDateHeader(String p0, long p1); - void addHeader(String p0, String p1); - void addIntHeader(String p0, int p1); - void sendError(int p0); - void sendError(int p0, String p1); - void sendRedirect(String p0); - void setDateHeader(String p0, long p1); - void setHeader(String p0, String p1); - void setIntHeader(String p0, int p1); - void setStatus(int p0); - void setStatus(int p0, String p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpSession.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpSession.java deleted file mode 100644 index f8f455b1423..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpSession.java +++ /dev/null @@ -1,28 +0,0 @@ -// Generated automatically from javax.servlet.http.HttpSession for testing purposes - -package javax.servlet.http; - -import java.util.Enumeration; -import javax.servlet.ServletContext; -import javax.servlet.http.HttpSessionContext; - -public interface HttpSession -{ - Enumeration getAttributeNames(); - HttpSessionContext getSessionContext(); - Object getAttribute(String p0); - Object getValue(String p0); - ServletContext getServletContext(); - String getId(); - String[] getValueNames(); - boolean isNew(); - int getMaxInactiveInterval(); - long getCreationTime(); - long getLastAccessedTime(); - void invalidate(); - void putValue(String p0, Object p1); - void removeAttribute(String p0); - void removeValue(String p0); - void setAttribute(String p0, Object p1); - void setMaxInactiveInterval(int p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpSessionContext.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpSessionContext.java deleted file mode 100644 index 97a77b48358..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpSessionContext.java +++ /dev/null @@ -1,12 +0,0 @@ -// Generated automatically from javax.servlet.http.HttpSessionContext for testing purposes - -package javax.servlet.http; - -import java.util.Enumeration; -import javax.servlet.http.HttpSession; - -public interface HttpSessionContext -{ - Enumeration getIds(); - HttpSession getSession(String p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpUpgradeHandler.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpUpgradeHandler.java deleted file mode 100644 index 987d49dbde2..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpUpgradeHandler.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from javax.servlet.http.HttpUpgradeHandler for testing purposes - -package javax.servlet.http; - -import javax.servlet.http.WebConnection; - -public interface HttpUpgradeHandler -{ - void destroy(); - void init(WebConnection p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/MappingMatch.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/MappingMatch.java deleted file mode 100644 index 0432fd2ef7d..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/MappingMatch.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from javax.servlet.http.MappingMatch for testing purposes - -package javax.servlet.http; - - -public enum MappingMatch -{ - CONTEXT_ROOT, DEFAULT, EXACT, EXTENSION, PATH; - private MappingMatch() {} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/Part.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/Part.java deleted file mode 100644 index a4e599748a5..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/Part.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated automatically from javax.servlet.http.Part for testing purposes - -package javax.servlet.http; - -import java.io.InputStream; -import java.util.Collection; - -public interface Part -{ - Collection getHeaderNames(); - Collection getHeaders(String p0); - InputStream getInputStream(); - String getContentType(); - String getHeader(String p0); - String getName(); - String getSubmittedFileName(); - long getSize(); - void delete(); - void write(String p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/PushBuilder.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/PushBuilder.java deleted file mode 100644 index 195e2426a83..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/PushBuilder.java +++ /dev/null @@ -1,23 +0,0 @@ -// Generated automatically from javax.servlet.http.PushBuilder for testing purposes - -package javax.servlet.http; - -import java.util.Set; - -public interface PushBuilder -{ - PushBuilder addHeader(String p0, String p1); - PushBuilder method(String p0); - PushBuilder path(String p0); - PushBuilder queryString(String p0); - PushBuilder removeHeader(String p0); - PushBuilder sessionId(String p0); - PushBuilder setHeader(String p0, String p1); - Set getHeaderNames(); - String getHeader(String p0); - String getMethod(); - String getPath(); - String getQueryString(); - String getSessionId(); - void push(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/WebConnection.java b/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/WebConnection.java deleted file mode 100644 index 5001c046400..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/WebConnection.java +++ /dev/null @@ -1,12 +0,0 @@ -// Generated automatically from javax.servlet.http.WebConnection for testing purposes - -package javax.servlet.http; - -import javax.servlet.ServletInputStream; -import javax.servlet.ServletOutputStream; - -public interface WebConnection extends AutoCloseable -{ - ServletInputStream getInputStream(); - ServletOutputStream getOutputStream(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/BasicHttpRequests.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/BasicHttpRequests.java deleted file mode 100644 index 89bdcc0344b..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/BasicHttpRequests.java +++ /dev/null @@ -1,42 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.async.methods.BasicHttpRequests for testing purposes - -package org.apache.hc.client5.http.async.methods; - -import java.net.URI; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.Method; -import org.apache.hc.core5.http.message.BasicHttpRequest; - -public class BasicHttpRequests -{ - public BasicHttpRequests(){} - public static BasicHttpRequest create(Method p0, HttpHost p1, String p2){ return null; } - public static BasicHttpRequest create(Method p0, String p1){ return null; } - public static BasicHttpRequest create(Method p0, URI p1){ return null; } - public static BasicHttpRequest create(String p0, String p1){ return null; } - public static BasicHttpRequest create(String p0, URI p1){ return null; } - public static BasicHttpRequest delete(HttpHost p0, String p1){ return null; } - public static BasicHttpRequest delete(String p0){ return null; } - public static BasicHttpRequest delete(URI p0){ return null; } - public static BasicHttpRequest get(HttpHost p0, String p1){ return null; } - public static BasicHttpRequest get(String p0){ return null; } - public static BasicHttpRequest get(URI p0){ return null; } - public static BasicHttpRequest head(HttpHost p0, String p1){ return null; } - public static BasicHttpRequest head(String p0){ return null; } - public static BasicHttpRequest head(URI p0){ return null; } - public static BasicHttpRequest options(HttpHost p0, String p1){ return null; } - public static BasicHttpRequest options(String p0){ return null; } - public static BasicHttpRequest options(URI p0){ return null; } - public static BasicHttpRequest patch(HttpHost p0, String p1){ return null; } - public static BasicHttpRequest patch(String p0){ return null; } - public static BasicHttpRequest patch(URI p0){ return null; } - public static BasicHttpRequest post(HttpHost p0, String p1){ return null; } - public static BasicHttpRequest post(String p0){ return null; } - public static BasicHttpRequest post(URI p0){ return null; } - public static BasicHttpRequest put(HttpHost p0, String p1){ return null; } - public static BasicHttpRequest put(String p0){ return null; } - public static BasicHttpRequest put(URI p0){ return null; } - public static BasicHttpRequest trace(HttpHost p0, String p1){ return null; } - public static BasicHttpRequest trace(String p0){ return null; } - public static BasicHttpRequest trace(URI p0){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/ConfigurableHttpRequest.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/ConfigurableHttpRequest.java deleted file mode 100644 index eea418de061..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/ConfigurableHttpRequest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.async.methods.ConfigurableHttpRequest for testing purposes - -package org.apache.hc.client5.http.async.methods; - -import java.net.URI; -import org.apache.hc.client5.http.config.Configurable; -import org.apache.hc.client5.http.config.RequestConfig; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.message.BasicHttpRequest; -import org.apache.hc.core5.net.URIAuthority; - -public class ConfigurableHttpRequest extends BasicHttpRequest implements Configurable -{ - protected ConfigurableHttpRequest() {} - public ConfigurableHttpRequest(String p0, HttpHost p1, String p2){} - public ConfigurableHttpRequest(String p0, String p1){} - public ConfigurableHttpRequest(String p0, String p1, URIAuthority p2, String p3){} - public ConfigurableHttpRequest(String p0, URI p1){} - public RequestConfig getConfig(){ return null; } - public void setConfig(RequestConfig p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleBody.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleBody.java deleted file mode 100644 index 6ad677d12cf..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleBody.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.async.methods.SimpleBody for testing purposes - -package org.apache.hc.client5.http.async.methods; - -import org.apache.hc.core5.http.ContentType; - -public class SimpleBody -{ - protected SimpleBody() {} - public ContentType getContentType(){ return null; } - public String getBodyText(){ return null; } - public String toString(){ return null; } - public boolean isBytes(){ return false; } - public boolean isText(){ return false; } - public byte[] getBodyBytes(){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleHttpRequest.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleHttpRequest.java deleted file mode 100644 index 49822a83d14..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleHttpRequest.java +++ /dev/null @@ -1,36 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.async.methods.SimpleHttpRequest for testing purposes - -package org.apache.hc.client5.http.async.methods; - -import java.net.URI; -import org.apache.hc.client5.http.async.methods.ConfigurableHttpRequest; -import org.apache.hc.client5.http.async.methods.SimpleBody; -import org.apache.hc.core5.http.ContentType; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.HttpRequest; -import org.apache.hc.core5.http.Method; -import org.apache.hc.core5.net.URIAuthority; - -public class SimpleHttpRequest extends ConfigurableHttpRequest -{ - protected SimpleHttpRequest() {} - public ContentType getContentType(){ return null; } - public SimpleBody getBody(){ return null; } - public SimpleHttpRequest(Method p0, HttpHost p1, String p2){} - public SimpleHttpRequest(Method p0, URI p1){} - public SimpleHttpRequest(String p0, HttpHost p1, String p2){} - public SimpleHttpRequest(String p0, String p1){} - public SimpleHttpRequest(String p0, String p1, URIAuthority p2, String p3){} - public SimpleHttpRequest(String p0, URI p1){} - public String getBodyText(){ return null; } - public byte[] getBodyBytes(){ return null; } - public static SimpleHttpRequest copy(HttpRequest p0){ return null; } - public static SimpleHttpRequest create(Method p0, HttpHost p1, String p2){ return null; } - public static SimpleHttpRequest create(Method p0, URI p1){ return null; } - public static SimpleHttpRequest create(String p0, String p1){ return null; } - public static SimpleHttpRequest create(String p0, String p1, URIAuthority p2, String p3){ return null; } - public static SimpleHttpRequest create(String p0, URI p1){ return null; } - public void setBody(SimpleBody p0){} - public void setBody(String p0, ContentType p1){} - public void setBody(byte[] p0, ContentType p1){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleHttpRequests.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleHttpRequests.java deleted file mode 100644 index 8f5ea3907f3..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleHttpRequests.java +++ /dev/null @@ -1,42 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.async.methods.SimpleHttpRequests for testing purposes - -package org.apache.hc.client5.http.async.methods; - -import java.net.URI; -import org.apache.hc.client5.http.async.methods.SimpleHttpRequest; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.Method; - -public class SimpleHttpRequests -{ - public SimpleHttpRequests(){} - public static SimpleHttpRequest create(Method p0, HttpHost p1, String p2){ return null; } - public static SimpleHttpRequest create(Method p0, String p1){ return null; } - public static SimpleHttpRequest create(Method p0, URI p1){ return null; } - public static SimpleHttpRequest create(String p0, String p1){ return null; } - public static SimpleHttpRequest create(String p0, URI p1){ return null; } - public static SimpleHttpRequest delete(HttpHost p0, String p1){ return null; } - public static SimpleHttpRequest delete(String p0){ return null; } - public static SimpleHttpRequest delete(URI p0){ return null; } - public static SimpleHttpRequest get(HttpHost p0, String p1){ return null; } - public static SimpleHttpRequest get(String p0){ return null; } - public static SimpleHttpRequest get(URI p0){ return null; } - public static SimpleHttpRequest head(HttpHost p0, String p1){ return null; } - public static SimpleHttpRequest head(String p0){ return null; } - public static SimpleHttpRequest head(URI p0){ return null; } - public static SimpleHttpRequest options(HttpHost p0, String p1){ return null; } - public static SimpleHttpRequest options(String p0){ return null; } - public static SimpleHttpRequest options(URI p0){ return null; } - public static SimpleHttpRequest patch(HttpHost p0, String p1){ return null; } - public static SimpleHttpRequest patch(String p0){ return null; } - public static SimpleHttpRequest patch(URI p0){ return null; } - public static SimpleHttpRequest post(HttpHost p0, String p1){ return null; } - public static SimpleHttpRequest post(String p0){ return null; } - public static SimpleHttpRequest post(URI p0){ return null; } - public static SimpleHttpRequest put(HttpHost p0, String p1){ return null; } - public static SimpleHttpRequest put(String p0){ return null; } - public static SimpleHttpRequest put(URI p0){ return null; } - public static SimpleHttpRequest trace(HttpHost p0, String p1){ return null; } - public static SimpleHttpRequest trace(String p0){ return null; } - public static SimpleHttpRequest trace(URI p0){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleRequestBuilder.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleRequestBuilder.java deleted file mode 100644 index de6ea977cdd..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleRequestBuilder.java +++ /dev/null @@ -1,80 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.async.methods.SimpleRequestBuilder for testing purposes - -package org.apache.hc.client5.http.async.methods; - -import java.net.URI; -import java.nio.charset.Charset; -import org.apache.hc.client5.http.async.methods.SimpleBody; -import org.apache.hc.client5.http.async.methods.SimpleHttpRequest; -import org.apache.hc.client5.http.config.RequestConfig; -import org.apache.hc.core5.http.ContentType; -import org.apache.hc.core5.http.Header; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.HttpRequest; -import org.apache.hc.core5.http.Method; -import org.apache.hc.core5.http.NameValuePair; -import org.apache.hc.core5.http.ProtocolVersion; -import org.apache.hc.core5.http.support.AbstractRequestBuilder; -import org.apache.hc.core5.net.URIAuthority; - -public class SimpleRequestBuilder extends AbstractRequestBuilder -{ - protected SimpleRequestBuilder() {} - protected void digest(HttpRequest p0){} - protected void digest(SimpleHttpRequest p0){} - public RequestConfig getRequestConfig(){ return null; } - public SimpleBody getBody(){ return null; } - public SimpleHttpRequest build(){ return null; } - public SimpleRequestBuilder addHeader(Header p0){ return null; } - public SimpleRequestBuilder addHeader(String p0, String p1){ return null; } - public SimpleRequestBuilder addParameter(NameValuePair p0){ return null; } - public SimpleRequestBuilder addParameter(String p0, String p1){ return null; } - public SimpleRequestBuilder addParameters(NameValuePair... p0){ return null; } - public SimpleRequestBuilder removeHeader(Header p0){ return null; } - public SimpleRequestBuilder removeHeaders(String p0){ return null; } - public SimpleRequestBuilder setAbsoluteRequestUri(boolean p0){ return null; } - public SimpleRequestBuilder setAuthority(URIAuthority p0){ return null; } - public SimpleRequestBuilder setBody(SimpleBody p0){ return null; } - public SimpleRequestBuilder setBody(String p0, ContentType p1){ return null; } - public SimpleRequestBuilder setBody(byte[] p0, ContentType p1){ return null; } - public SimpleRequestBuilder setCharset(Charset p0){ return null; } - public SimpleRequestBuilder setHeader(Header p0){ return null; } - public SimpleRequestBuilder setHeader(String p0, String p1){ return null; } - public SimpleRequestBuilder setHeaders(Header... p0){ return null; } - public SimpleRequestBuilder setHttpHost(HttpHost p0){ return null; } - public SimpleRequestBuilder setPath(String p0){ return null; } - public SimpleRequestBuilder setRequestConfig(RequestConfig p0){ return null; } - public SimpleRequestBuilder setScheme(String p0){ return null; } - public SimpleRequestBuilder setUri(String p0){ return null; } - public SimpleRequestBuilder setUri(URI p0){ return null; } - public SimpleRequestBuilder setVersion(ProtocolVersion p0){ return null; } - public String toString(){ return null; } - public static SimpleRequestBuilder copy(HttpRequest p0){ return null; } - public static SimpleRequestBuilder copy(SimpleHttpRequest p0){ return null; } - public static SimpleRequestBuilder create(Method p0){ return null; } - public static SimpleRequestBuilder create(String p0){ return null; } - public static SimpleRequestBuilder delete(){ return null; } - public static SimpleRequestBuilder delete(String p0){ return null; } - public static SimpleRequestBuilder delete(URI p0){ return null; } - public static SimpleRequestBuilder get(){ return null; } - public static SimpleRequestBuilder get(String p0){ return null; } - public static SimpleRequestBuilder get(URI p0){ return null; } - public static SimpleRequestBuilder head(){ return null; } - public static SimpleRequestBuilder head(String p0){ return null; } - public static SimpleRequestBuilder head(URI p0){ return null; } - public static SimpleRequestBuilder options(){ return null; } - public static SimpleRequestBuilder options(String p0){ return null; } - public static SimpleRequestBuilder options(URI p0){ return null; } - public static SimpleRequestBuilder patch(){ return null; } - public static SimpleRequestBuilder patch(String p0){ return null; } - public static SimpleRequestBuilder patch(URI p0){ return null; } - public static SimpleRequestBuilder post(){ return null; } - public static SimpleRequestBuilder post(String p0){ return null; } - public static SimpleRequestBuilder post(URI p0){ return null; } - public static SimpleRequestBuilder put(){ return null; } - public static SimpleRequestBuilder put(String p0){ return null; } - public static SimpleRequestBuilder put(URI p0){ return null; } - public static SimpleRequestBuilder trace(){ return null; } - public static SimpleRequestBuilder trace(String p0){ return null; } - public static SimpleRequestBuilder trace(URI p0){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/HttpClient.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/HttpClient.java deleted file mode 100644 index 7cfe982a4f0..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/HttpClient.java +++ /dev/null @@ -1,22 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.classic.HttpClient for testing purposes - -package org.apache.hc.client5.http.classic; - -import org.apache.hc.core5.http.ClassicHttpRequest; -import org.apache.hc.core5.http.ClassicHttpResponse; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.HttpResponse; -import org.apache.hc.core5.http.io.HttpClientResponseHandler; -import org.apache.hc.core5.http.protocol.HttpContext; - -public interface HttpClient -{ - T execute(ClassicHttpRequest p0, HttpContext p1, org.apache.hc.core5.http.io.HttpClientResponseHandler p2); - T execute(ClassicHttpRequest p0, org.apache.hc.core5.http.io.HttpClientResponseHandler p1); - T execute(HttpHost p0, ClassicHttpRequest p1, HttpContext p2, org.apache.hc.core5.http.io.HttpClientResponseHandler p3); - T execute(HttpHost p0, ClassicHttpRequest p1, org.apache.hc.core5.http.io.HttpClientResponseHandler p2); - ClassicHttpResponse execute(HttpHost p0, ClassicHttpRequest p1); - HttpResponse execute(ClassicHttpRequest p0); - HttpResponse execute(ClassicHttpRequest p0, HttpContext p1); - HttpResponse execute(HttpHost p0, ClassicHttpRequest p1, HttpContext p2); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/ClassicHttpRequests.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/ClassicHttpRequests.java deleted file mode 100644 index 15030b64e74..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/ClassicHttpRequests.java +++ /dev/null @@ -1,32 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.classic.methods.ClassicHttpRequests for testing purposes - -package org.apache.hc.client5.http.classic.methods; - -import java.net.URI; -import org.apache.hc.client5.http.classic.methods.HttpUriRequest; -import org.apache.hc.core5.http.Method; - -public class ClassicHttpRequests -{ - public ClassicHttpRequests(){} - public static HttpUriRequest create(Method p0, String p1){ return null; } - public static HttpUriRequest create(Method p0, URI p1){ return null; } - public static HttpUriRequest create(String p0, String p1){ return null; } - public static HttpUriRequest create(String p0, URI p1){ return null; } - public static HttpUriRequest delete(String p0){ return null; } - public static HttpUriRequest delete(URI p0){ return null; } - public static HttpUriRequest get(String p0){ return null; } - public static HttpUriRequest get(URI p0){ return null; } - public static HttpUriRequest head(String p0){ return null; } - public static HttpUriRequest head(URI p0){ return null; } - public static HttpUriRequest options(String p0){ return null; } - public static HttpUriRequest options(URI p0){ return null; } - public static HttpUriRequest patch(String p0){ return null; } - public static HttpUriRequest patch(URI p0){ return null; } - public static HttpUriRequest post(String p0){ return null; } - public static HttpUriRequest post(URI p0){ return null; } - public static HttpUriRequest put(String p0){ return null; } - public static HttpUriRequest put(URI p0){ return null; } - public static HttpUriRequest trace(String p0){ return null; } - public static HttpUriRequest trace(URI p0){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpDelete.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpDelete.java deleted file mode 100644 index 2d7250d4bc5..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpDelete.java +++ /dev/null @@ -1,14 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpDelete for testing purposes - -package org.apache.hc.client5.http.classic.methods; - -import java.net.URI; -import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase; - -public class HttpDelete extends HttpUriRequestBase -{ - protected HttpDelete() {} - public HttpDelete(String p0){} - public HttpDelete(URI p0){} - public static String METHOD_NAME = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpGet.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpGet.java deleted file mode 100644 index 2e1189c8a5b..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpGet.java +++ /dev/null @@ -1,14 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpGet for testing purposes - -package org.apache.hc.client5.http.classic.methods; - -import java.net.URI; -import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase; - -public class HttpGet extends HttpUriRequestBase -{ - protected HttpGet() {} - public HttpGet(String p0){} - public HttpGet(URI p0){} - public static String METHOD_NAME = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpHead.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpHead.java deleted file mode 100644 index 628d960f773..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpHead.java +++ /dev/null @@ -1,14 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpHead for testing purposes - -package org.apache.hc.client5.http.classic.methods; - -import java.net.URI; -import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase; - -public class HttpHead extends HttpUriRequestBase -{ - protected HttpHead() {} - public HttpHead(String p0){} - public HttpHead(URI p0){} - public static String METHOD_NAME = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpOptions.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpOptions.java deleted file mode 100644 index 6eca25c9640..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpOptions.java +++ /dev/null @@ -1,18 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpOptions for testing purposes - -package org.apache.hc.client5.http.classic.methods; - -import java.net.URI; -import java.util.Set; -import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase; -import org.apache.hc.core5.http.HttpResponse; - -public class HttpOptions extends HttpUriRequestBase -{ - protected HttpOptions() {} - public HttpOptions(String p0){} - public HttpOptions(URI p0){} - public Set getAllowedMethods(HttpResponse p0){ return null; } - public String getMethod(){ return null; } - public static String METHOD_NAME = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPatch.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPatch.java deleted file mode 100644 index 7d8406a597a..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPatch.java +++ /dev/null @@ -1,14 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpPatch for testing purposes - -package org.apache.hc.client5.http.classic.methods; - -import java.net.URI; -import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase; - -public class HttpPatch extends HttpUriRequestBase -{ - protected HttpPatch() {} - public HttpPatch(String p0){} - public HttpPatch(URI p0){} - public static String METHOD_NAME = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPost.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPost.java deleted file mode 100644 index 6dfca855ad5..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPost.java +++ /dev/null @@ -1,14 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpPost for testing purposes - -package org.apache.hc.client5.http.classic.methods; - -import java.net.URI; -import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase; - -public class HttpPost extends HttpUriRequestBase -{ - protected HttpPost() {} - public HttpPost(String p0){} - public HttpPost(URI p0){} - public static String METHOD_NAME = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPut.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPut.java deleted file mode 100644 index b52fcef2065..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPut.java +++ /dev/null @@ -1,14 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpPut for testing purposes - -package org.apache.hc.client5.http.classic.methods; - -import java.net.URI; -import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase; - -public class HttpPut extends HttpUriRequestBase -{ - protected HttpPut() {} - public HttpPut(String p0){} - public HttpPut(URI p0){} - public static String METHOD_NAME = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpTrace.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpTrace.java deleted file mode 100644 index df582e904b4..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpTrace.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpTrace for testing purposes - -package org.apache.hc.client5.http.classic.methods; - -import java.net.URI; -import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase; -import org.apache.hc.core5.http.HttpEntity; - -public class HttpTrace extends HttpUriRequestBase -{ - protected HttpTrace() {} - public HttpTrace(String p0){} - public HttpTrace(URI p0){} - public static String METHOD_NAME = null; - public void setEntity(HttpEntity p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpUriRequest.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpUriRequest.java deleted file mode 100644 index 689c61a6d9a..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpUriRequest.java +++ /dev/null @@ -1,12 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpUriRequest for testing purposes - -package org.apache.hc.client5.http.classic.methods; - -import org.apache.hc.client5.http.config.Configurable; -import org.apache.hc.core5.http.ClassicHttpRequest; - -public interface HttpUriRequest extends ClassicHttpRequest, Configurable -{ - boolean isAborted(); - void abort(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpUriRequestBase.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpUriRequestBase.java deleted file mode 100644 index 27e8f7627a8..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpUriRequestBase.java +++ /dev/null @@ -1,25 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpUriRequestBase for testing purposes - -package org.apache.hc.client5.http.classic.methods; - -import java.net.URI; -import org.apache.hc.client5.http.classic.methods.HttpUriRequest; -import org.apache.hc.client5.http.config.RequestConfig; -import org.apache.hc.core5.concurrent.Cancellable; -import org.apache.hc.core5.concurrent.CancellableDependency; -import org.apache.hc.core5.http.message.BasicClassicHttpRequest; - -public class HttpUriRequestBase extends BasicClassicHttpRequest implements CancellableDependency, HttpUriRequest -{ - protected HttpUriRequestBase() {} - public HttpUriRequestBase(String p0, URI p1){} - public RequestConfig getConfig(){ return null; } - public String toString(){ return null; } - public boolean cancel(){ return false; } - public boolean isAborted(){ return false; } - public boolean isCancelled(){ return false; } - public void abort(){} - public void reset(){} - public void setConfig(RequestConfig p0){} - public void setDependency(Cancellable p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/config/Configurable.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/config/Configurable.java deleted file mode 100644 index 325e1618af6..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/config/Configurable.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.config.Configurable for testing purposes - -package org.apache.hc.client5.http.config; - -import org.apache.hc.client5.http.config.RequestConfig; - -public interface Configurable -{ - RequestConfig getConfig(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/config/RequestConfig.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/config/RequestConfig.java deleted file mode 100644 index cdc6605437b..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/config/RequestConfig.java +++ /dev/null @@ -1,57 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.config.RequestConfig for testing purposes - -package org.apache.hc.client5.http.config; - -import java.util.Collection; -import java.util.concurrent.TimeUnit; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.util.TimeValue; -import org.apache.hc.core5.util.Timeout; - -public class RequestConfig implements Cloneable -{ - protected RequestConfig clone(){ return null; } - protected RequestConfig(){} - public Collection getProxyPreferredAuthSchemes(){ return null; } - public Collection getTargetPreferredAuthSchemes(){ return null; } - public HttpHost getProxy(){ return null; } - public String getCookieSpec(){ return null; } - public String toString(){ return null; } - public TimeValue getConnectionKeepAlive(){ return null; } - public Timeout getConnectTimeout(){ return null; } - public Timeout getConnectionRequestTimeout(){ return null; } - public Timeout getResponseTimeout(){ return null; } - public boolean isAuthenticationEnabled(){ return false; } - public boolean isCircularRedirectsAllowed(){ return false; } - public boolean isContentCompressionEnabled(){ return false; } - public boolean isExpectContinueEnabled(){ return false; } - public boolean isHardCancellationEnabled(){ return false; } - public boolean isRedirectsEnabled(){ return false; } - public int getMaxRedirects(){ return 0; } - public static RequestConfig DEFAULT = null; - public static RequestConfig.Builder copy(RequestConfig p0){ return null; } - public static RequestConfig.Builder custom(){ return null; } - static public class Builder - { - public RequestConfig build(){ return null; } - public RequestConfig.Builder setAuthenticationEnabled(boolean p0){ return null; } - public RequestConfig.Builder setCircularRedirectsAllowed(boolean p0){ return null; } - public RequestConfig.Builder setConnectTimeout(Timeout p0){ return null; } - public RequestConfig.Builder setConnectTimeout(long p0, TimeUnit p1){ return null; } - public RequestConfig.Builder setConnectionKeepAlive(TimeValue p0){ return null; } - public RequestConfig.Builder setConnectionRequestTimeout(Timeout p0){ return null; } - public RequestConfig.Builder setConnectionRequestTimeout(long p0, TimeUnit p1){ return null; } - public RequestConfig.Builder setContentCompressionEnabled(boolean p0){ return null; } - public RequestConfig.Builder setCookieSpec(String p0){ return null; } - public RequestConfig.Builder setDefaultKeepAlive(long p0, TimeUnit p1){ return null; } - public RequestConfig.Builder setExpectContinueEnabled(boolean p0){ return null; } - public RequestConfig.Builder setHardCancellationEnabled(boolean p0){ return null; } - public RequestConfig.Builder setMaxRedirects(int p0){ return null; } - public RequestConfig.Builder setProxy(HttpHost p0){ return null; } - public RequestConfig.Builder setProxyPreferredAuthSchemes(Collection p0){ return null; } - public RequestConfig.Builder setRedirectsEnabled(boolean p0){ return null; } - public RequestConfig.Builder setResponseTimeout(Timeout p0){ return null; } - public RequestConfig.Builder setResponseTimeout(long p0, TimeUnit p1){ return null; } - public RequestConfig.Builder setTargetPreferredAuthSchemes(Collection p0){ return null; } - } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Content.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Content.java deleted file mode 100644 index 22435b79c19..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Content.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.fluent.Content for testing purposes - -package org.apache.hc.client5.http.fluent; - -import java.io.InputStream; -import java.nio.charset.Charset; -import org.apache.hc.core5.http.ContentType; - -public class Content -{ - protected Content() {} - public Content(byte[] p0, ContentType p1){} - public ContentType getType(){ return null; } - public InputStream asStream(){ return null; } - public String asString(){ return null; } - public String asString(Charset p0){ return null; } - public String toString(){ return null; } - public byte[] asBytes(){ return null; } - public static Content NO_CONTENT = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Request.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Request.java deleted file mode 100644 index ccbb5e755e4..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Request.java +++ /dev/null @@ -1,81 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.fluent.Request for testing purposes - -package org.apache.hc.client5.http.fluent; - -import java.io.File; -import java.io.InputStream; -import java.net.URI; -import java.nio.charset.Charset; -import java.util.Date; -import java.util.Locale; -import java.util.TimeZone; -import org.apache.hc.client5.http.fluent.Response; -import org.apache.hc.client5.http.impl.classic.CloseableHttpClient; -import org.apache.hc.core5.http.ContentType; -import org.apache.hc.core5.http.Header; -import org.apache.hc.core5.http.HttpEntity; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.HttpVersion; -import org.apache.hc.core5.http.Method; -import org.apache.hc.core5.http.NameValuePair; -import org.apache.hc.core5.util.Timeout; - -public class Request -{ - protected Request() {} - public Request addHeader(Header p0){ return null; } - public Request addHeader(String p0, String p1){ return null; } - public Request body(HttpEntity p0){ return null; } - public Request bodyByteArray(byte[] p0){ return null; } - public Request bodyByteArray(byte[] p0, ContentType p1){ return null; } - public Request bodyByteArray(byte[] p0, int p1, int p2){ return null; } - public Request bodyByteArray(byte[] p0, int p1, int p2, ContentType p3){ return null; } - public Request bodyFile(File p0, ContentType p1){ return null; } - public Request bodyForm(Iterable p0){ return null; } - public Request bodyForm(Iterable p0, Charset p1){ return null; } - public Request bodyForm(NameValuePair... p0){ return null; } - public Request bodyStream(InputStream p0){ return null; } - public Request bodyStream(InputStream p0, ContentType p1){ return null; } - public Request bodyString(String p0, ContentType p1){ return null; } - public Request connectTimeout(Timeout p0){ return null; } - public Request removeHeader(Header p0){ return null; } - public Request removeHeaders(String p0){ return null; } - public Request responseTimeout(Timeout p0){ return null; } - public Request setCacheControl(String p0){ return null; } - public Request setDate(Date p0){ return null; } - public Request setHeader(Header p0){ return null; } - public Request setHeader(String p0, String p1){ return null; } - public Request setHeaders(Header... p0){ return null; } - public Request setIfModifiedSince(Date p0){ return null; } - public Request setIfUnmodifiedSince(Date p0){ return null; } - public Request useExpectContinue(){ return null; } - public Request userAgent(String p0){ return null; } - public Request version(HttpVersion p0){ return null; } - public Request viaProxy(HttpHost p0){ return null; } - public Request viaProxy(String p0){ return null; } - public Response execute(){ return null; } - public Response execute(CloseableHttpClient p0){ return null; } - public String toString(){ return null; } - public static Locale DATE_LOCALE = null; - public static Request create(Method p0, URI p1){ return null; } - public static Request create(String p0, String p1){ return null; } - public static Request create(String p0, URI p1){ return null; } - public static Request delete(String p0){ return null; } - public static Request delete(URI p0){ return null; } - public static Request get(String p0){ return null; } - public static Request get(URI p0){ return null; } - public static Request head(String p0){ return null; } - public static Request head(URI p0){ return null; } - public static Request options(String p0){ return null; } - public static Request options(URI p0){ return null; } - public static Request patch(String p0){ return null; } - public static Request patch(URI p0){ return null; } - public static Request post(String p0){ return null; } - public static Request post(URI p0){ return null; } - public static Request put(String p0){ return null; } - public static Request put(URI p0){ return null; } - public static Request trace(String p0){ return null; } - public static Request trace(URI p0){ return null; } - public static String DATE_FORMAT = null; - public static TimeZone TIME_ZONE = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Response.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Response.java deleted file mode 100644 index 658dd41a74b..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Response.java +++ /dev/null @@ -1,18 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.fluent.Response for testing purposes - -package org.apache.hc.client5.http.fluent; - -import java.io.File; -import org.apache.hc.client5.http.fluent.Content; -import org.apache.hc.core5.http.HttpResponse; -import org.apache.hc.core5.http.io.HttpClientResponseHandler; - -public class Response -{ - protected Response() {} - public T handleResponse(HttpClientResponseHandler p0){ return null; } - public Content returnContent(){ return null; } - public HttpResponse returnResponse(){ return null; } - public void discardContent(){} - public void saveContent(File p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/impl/classic/CloseableHttpClient.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/impl/classic/CloseableHttpClient.java deleted file mode 100644 index 748fbdb8649..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/impl/classic/CloseableHttpClient.java +++ /dev/null @@ -1,25 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.impl.classic.CloseableHttpClient for testing purposes - -package org.apache.hc.client5.http.impl.classic; - -import org.apache.hc.client5.http.classic.HttpClient; -import org.apache.hc.client5.http.impl.classic.CloseableHttpResponse; -import org.apache.hc.core5.http.ClassicHttpRequest; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.io.HttpClientResponseHandler; -import org.apache.hc.core5.http.protocol.HttpContext; -import org.apache.hc.core5.io.ModalCloseable; - -abstract public class CloseableHttpClient implements HttpClient, ModalCloseable -{ - protected abstract CloseableHttpResponse doExecute(HttpHost p0, ClassicHttpRequest p1, HttpContext p2); - public T execute(ClassicHttpRequest p0, HttpContext p1, org.apache.hc.core5.http.io.HttpClientResponseHandler p2){ return null; } - public T execute(ClassicHttpRequest p0, org.apache.hc.core5.http.io.HttpClientResponseHandler p1){ return null; } - public T execute(HttpHost p0, ClassicHttpRequest p1, HttpContext p2, org.apache.hc.core5.http.io.HttpClientResponseHandler p3){ return null; } - public T execute(HttpHost p0, ClassicHttpRequest p1, org.apache.hc.core5.http.io.HttpClientResponseHandler p2){ return null; } - public CloseableHttpClient(){} - public CloseableHttpResponse execute(ClassicHttpRequest p0){ return null; } - public CloseableHttpResponse execute(ClassicHttpRequest p0, HttpContext p1){ return null; } - public CloseableHttpResponse execute(HttpHost p0, ClassicHttpRequest p1){ return null; } - public CloseableHttpResponse execute(HttpHost p0, ClassicHttpRequest p1, HttpContext p2){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/impl/classic/CloseableHttpResponse.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/impl/classic/CloseableHttpResponse.java deleted file mode 100644 index a26907a91cd..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/impl/classic/CloseableHttpResponse.java +++ /dev/null @@ -1,43 +0,0 @@ -// Generated automatically from org.apache.hc.client5.http.impl.classic.CloseableHttpResponse for testing purposes - -package org.apache.hc.client5.http.impl.classic; - -import java.util.Iterator; -import java.util.Locale; -import org.apache.hc.core5.http.ClassicHttpResponse; -import org.apache.hc.core5.http.Header; -import org.apache.hc.core5.http.HttpEntity; -import org.apache.hc.core5.http.ProtocolVersion; - -public class CloseableHttpResponse implements ClassicHttpResponse -{ - protected CloseableHttpResponse() {} - public Header getFirstHeader(String p0){ return null; } - public Header getHeader(String p0){ return null; } - public Header getLastHeader(String p0){ return null; } - public Header[] getHeaders(){ return null; } - public Header[] getHeaders(String p0){ return null; } - public HttpEntity getEntity(){ return null; } - public Iterator
headerIterator(){ return null; } - public Iterator
headerIterator(String p0){ return null; } - public Locale getLocale(){ return null; } - public ProtocolVersion getVersion(){ return null; } - public String getReasonPhrase(){ return null; } - public String toString(){ return null; } - public boolean containsHeader(String p0){ return false; } - public boolean removeHeader(Header p0){ return false; } - public boolean removeHeaders(String p0){ return false; } - public int countHeaders(String p0){ return 0; } - public int getCode(){ return 0; } - public void addHeader(Header p0){} - public void addHeader(String p0, Object p1){} - public void close(){} - public void setCode(int p0){} - public void setEntity(HttpEntity p0){} - public void setHeader(Header p0){} - public void setHeader(String p0, Object p1){} - public void setHeaders(Header... p0){} - public void setLocale(Locale p0){} - public void setReasonPhrase(String p0){} - public void setVersion(ProtocolVersion p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/Cancellable.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/Cancellable.java deleted file mode 100644 index 90c9701146f..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/Cancellable.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated automatically from org.apache.hc.core5.concurrent.Cancellable for testing purposes - -package org.apache.hc.core5.concurrent; - - -public interface Cancellable -{ - boolean cancel(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/CancellableDependency.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/CancellableDependency.java deleted file mode 100644 index ae96fdf62bf..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/CancellableDependency.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from org.apache.hc.core5.concurrent.CancellableDependency for testing purposes - -package org.apache.hc.core5.concurrent; - -import org.apache.hc.core5.concurrent.Cancellable; - -public interface CancellableDependency extends Cancellable -{ - boolean isCancelled(); - void setDependency(Cancellable p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/FutureCallback.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/FutureCallback.java deleted file mode 100644 index 01fcf800303..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/FutureCallback.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from org.apache.hc.core5.concurrent.FutureCallback for testing purposes - -package org.apache.hc.core5.concurrent; - - -public interface FutureCallback -{ - void cancelled(); - void completed(T p0); - void failed(Exception p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Callback.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Callback.java deleted file mode 100644 index f834d9e3118..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Callback.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated automatically from org.apache.hc.core5.function.Callback for testing purposes - -package org.apache.hc.core5.function; - - -public interface Callback -{ - void execute(T p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Decorator.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Decorator.java deleted file mode 100644 index 5a91c7ead8b..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Decorator.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated automatically from org.apache.hc.core5.function.Decorator for testing purposes - -package org.apache.hc.core5.function; - - -public interface Decorator -{ - T decorate(T p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Resolver.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Resolver.java deleted file mode 100644 index a4f60c02bad..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Resolver.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated automatically from org.apache.hc.core5.function.Resolver for testing purposes - -package org.apache.hc.core5.function; - - -public interface Resolver -{ - O resolve(I p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Supplier.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Supplier.java deleted file mode 100644 index 0e109333a4e..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Supplier.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated automatically from org.apache.hc.core5.function.Supplier for testing purposes - -package org.apache.hc.core5.function; - - -public interface Supplier -{ - T get(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ClassicHttpRequest.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ClassicHttpRequest.java deleted file mode 100644 index 1ee328346b8..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ClassicHttpRequest.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.ClassicHttpRequest for testing purposes - -package org.apache.hc.core5.http; - -import org.apache.hc.core5.http.HttpEntityContainer; -import org.apache.hc.core5.http.HttpRequest; - -public interface ClassicHttpRequest extends HttpEntityContainer, HttpRequest -{ -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ClassicHttpResponse.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ClassicHttpResponse.java deleted file mode 100644 index a3fb7c84e34..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ClassicHttpResponse.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.ClassicHttpResponse for testing purposes - -package org.apache.hc.core5.http; - -import java.io.Closeable; -import org.apache.hc.core5.http.HttpEntityContainer; -import org.apache.hc.core5.http.HttpResponse; - -public interface ClassicHttpResponse extends Closeable, HttpEntityContainer, HttpResponse -{ -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ContentType.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ContentType.java deleted file mode 100644 index 96e14094e2b..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ContentType.java +++ /dev/null @@ -1,60 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.ContentType for testing purposes - -package org.apache.hc.core5.http; - -import java.io.Serializable; -import java.nio.charset.Charset; -import org.apache.hc.core5.http.NameValuePair; - -public class ContentType implements Serializable -{ - protected ContentType() {} - public Charset getCharset(){ return null; } - public Charset getCharset(Charset p0){ return null; } - public ContentType withCharset(Charset p0){ return null; } - public ContentType withCharset(String p0){ return null; } - public ContentType withParameters(NameValuePair... p0){ return null; } - public String getMimeType(){ return null; } - public String getParameter(String p0){ return null; } - public String toString(){ return null; } - public boolean isSameMimeType(ContentType p0){ return false; } - public static Charset getCharset(ContentType p0, Charset p1){ return null; } - public static ContentType APPLICATION_ATOM_XML = null; - public static ContentType APPLICATION_FORM_URLENCODED = null; - public static ContentType APPLICATION_JSON = null; - public static ContentType APPLICATION_NDJSON = null; - public static ContentType APPLICATION_OCTET_STREAM = null; - public static ContentType APPLICATION_PDF = null; - public static ContentType APPLICATION_PROBLEM_JSON = null; - public static ContentType APPLICATION_PROBLEM_XML = null; - public static ContentType APPLICATION_RSS_XML = null; - public static ContentType APPLICATION_SOAP_XML = null; - public static ContentType APPLICATION_SVG_XML = null; - public static ContentType APPLICATION_XHTML_XML = null; - public static ContentType APPLICATION_XML = null; - public static ContentType DEFAULT_BINARY = null; - public static ContentType DEFAULT_TEXT = null; - public static ContentType IMAGE_BMP = null; - public static ContentType IMAGE_GIF = null; - public static ContentType IMAGE_JPEG = null; - public static ContentType IMAGE_PNG = null; - public static ContentType IMAGE_SVG = null; - public static ContentType IMAGE_TIFF = null; - public static ContentType IMAGE_WEBP = null; - public static ContentType MULTIPART_FORM_DATA = null; - public static ContentType MULTIPART_MIXED = null; - public static ContentType MULTIPART_RELATED = null; - public static ContentType TEXT_EVENT_STREAM = null; - public static ContentType TEXT_HTML = null; - public static ContentType TEXT_MARKDOWN = null; - public static ContentType TEXT_PLAIN = null; - public static ContentType TEXT_XML = null; - public static ContentType WILDCARD = null; - public static ContentType create(String p0){ return null; } - public static ContentType create(String p0, Charset p1){ return null; } - public static ContentType create(String p0, NameValuePair... p1){ return null; } - public static ContentType create(String p0, String p1){ return null; } - public static ContentType getByMimeType(String p0){ return null; } - public static ContentType parse(CharSequence p0){ return null; } - public static ContentType parseLenient(CharSequence p0){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/EntityDetails.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/EntityDetails.java deleted file mode 100644 index 744e2df8775..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/EntityDetails.java +++ /dev/null @@ -1,14 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.EntityDetails for testing purposes - -package org.apache.hc.core5.http; - -import java.util.Set; - -public interface EntityDetails -{ - Set getTrailerNames(); - String getContentEncoding(); - String getContentType(); - boolean isChunked(); - long getContentLength(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/Header.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/Header.java deleted file mode 100644 index 7a46f5c8b1a..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/Header.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.Header for testing purposes - -package org.apache.hc.core5.http; - -import org.apache.hc.core5.http.NameValuePair; - -public interface Header extends NameValuePair -{ - boolean isSensitive(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpEntity.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpEntity.java deleted file mode 100644 index dab80ddd5d1..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpEntity.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.HttpEntity for testing purposes - -package org.apache.hc.core5.http; - -import java.io.Closeable; -import java.io.InputStream; -import java.io.OutputStream; -import java.util.List; -import org.apache.hc.core5.function.Supplier; -import org.apache.hc.core5.http.EntityDetails; -import org.apache.hc.core5.http.Header; - -public interface HttpEntity extends Closeable, EntityDetails -{ - InputStream getContent(); - Supplier> getTrailers(); - boolean isRepeatable(); - boolean isStreaming(); - void writeTo(OutputStream p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpEntityContainer.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpEntityContainer.java deleted file mode 100644 index 9eafd490377..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpEntityContainer.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.HttpEntityContainer for testing purposes - -package org.apache.hc.core5.http; - -import org.apache.hc.core5.http.HttpEntity; - -public interface HttpEntityContainer -{ - HttpEntity getEntity(); - void setEntity(HttpEntity p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpHost.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpHost.java deleted file mode 100644 index a84b0e611fd..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpHost.java +++ /dev/null @@ -1,37 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.HttpHost for testing purposes - -package org.apache.hc.core5.http; - -import java.io.Serializable; -import java.net.InetAddress; -import java.net.URI; -import org.apache.hc.core5.http.URIScheme; -import org.apache.hc.core5.net.NamedEndpoint; -import org.apache.hc.core5.net.URIAuthority; - -public class HttpHost implements NamedEndpoint, Serializable -{ - protected HttpHost() {} - public HttpHost(InetAddress p0){} - public HttpHost(InetAddress p0, int p1){} - public HttpHost(String p0){} - public HttpHost(String p0, InetAddress p1, String p2, int p3){} - public HttpHost(String p0, InetAddress p1, int p2){} - public HttpHost(String p0, NamedEndpoint p1){} - public HttpHost(String p0, String p1){} - public HttpHost(String p0, String p1, int p2){} - public HttpHost(String p0, int p1){} - public HttpHost(URIAuthority p0){} - public InetAddress getAddress(){ return null; } - public String getHostName(){ return null; } - public String getSchemeName(){ return null; } - public String toHostString(){ return null; } - public String toString(){ return null; } - public String toURI(){ return null; } - public boolean equals(Object p0){ return false; } - public int getPort(){ return 0; } - public int hashCode(){ return 0; } - public static HttpHost create(String p0){ return null; } - public static HttpHost create(URI p0){ return null; } - public static URIScheme DEFAULT_SCHEME = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpMessage.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpMessage.java deleted file mode 100644 index 9ddeef03cef..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpMessage.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.HttpMessage for testing purposes - -package org.apache.hc.core5.http; - -import org.apache.hc.core5.http.Header; -import org.apache.hc.core5.http.MessageHeaders; -import org.apache.hc.core5.http.ProtocolVersion; - -public interface HttpMessage extends MessageHeaders -{ - ProtocolVersion getVersion(); - boolean removeHeader(Header p0); - boolean removeHeaders(String p0); - void addHeader(Header p0); - void addHeader(String p0, Object p1); - void setHeader(Header p0); - void setHeader(String p0, Object p1); - void setHeaders(Header... p0); - void setVersion(ProtocolVersion p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpRequest.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpRequest.java deleted file mode 100644 index a0d587525d9..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpRequest.java +++ /dev/null @@ -1,21 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.HttpRequest for testing purposes - -package org.apache.hc.core5.http; - -import java.net.URI; -import org.apache.hc.core5.http.HttpMessage; -import org.apache.hc.core5.net.URIAuthority; - -public interface HttpRequest extends HttpMessage -{ - String getMethod(); - String getPath(); - String getRequestUri(); - String getScheme(); - URI getUri(); - URIAuthority getAuthority(); - void setAuthority(URIAuthority p0); - void setPath(String p0); - void setScheme(String p0); - void setUri(URI p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpRequestFactory.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpRequestFactory.java deleted file mode 100644 index d421c21c8f3..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpRequestFactory.java +++ /dev/null @@ -1,12 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.HttpRequestFactory for testing purposes - -package org.apache.hc.core5.http; - -import java.net.URI; -import org.apache.hc.core5.http.HttpRequest; - -public interface HttpRequestFactory -{ - T newHttpRequest(String p0, String p1); - T newHttpRequest(String p0, URI p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpResponse.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpResponse.java deleted file mode 100644 index cd6cae950d2..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpResponse.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.HttpResponse for testing purposes - -package org.apache.hc.core5.http; - -import java.util.Locale; -import org.apache.hc.core5.http.HttpMessage; - -public interface HttpResponse extends HttpMessage -{ - Locale getLocale(); - String getReasonPhrase(); - int getCode(); - void setCode(int p0); - void setLocale(Locale p0); - void setReasonPhrase(String p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpVersion.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpVersion.java deleted file mode 100644 index 76b3adfe585..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/HttpVersion.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.HttpVersion for testing purposes - -package org.apache.hc.core5.http; - -import org.apache.hc.core5.http.ProtocolVersion; - -public class HttpVersion extends ProtocolVersion -{ - protected HttpVersion() {} - public HttpVersion(int p0, int p1){} - public static HttpVersion DEFAULT = null; - public static HttpVersion HTTP_0_9 = null; - public static HttpVersion HTTP_1_0 = null; - public static HttpVersion HTTP_1_1 = null; - public static HttpVersion HTTP_2 = null; - public static HttpVersion HTTP_2_0 = null; - public static HttpVersion get(int p0, int p1){ return null; } - public static HttpVersion[] ALL = null; - public static String HTTP = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/MessageHeaders.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/MessageHeaders.java deleted file mode 100644 index 1a426cb1b21..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/MessageHeaders.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.MessageHeaders for testing purposes - -package org.apache.hc.core5.http; - -import java.util.Iterator; -import org.apache.hc.core5.http.Header; - -public interface MessageHeaders -{ - Header getFirstHeader(String p0); - Header getHeader(String p0); - Header getLastHeader(String p0); - Header[] getHeaders(); - Header[] getHeaders(String p0); - Iterator
headerIterator(); - Iterator
headerIterator(String p0); - boolean containsHeader(String p0); - int countHeaders(String p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/Method.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/Method.java deleted file mode 100644 index 54684fbf6d3..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/Method.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.Method for testing purposes - -package org.apache.hc.core5.http; - - -public enum Method -{ - CONNECT, DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT, TRACE; - private Method() {} - public boolean isIdempotent(){ return false; } - public boolean isSafe(){ return false; } - public boolean isSame(String p0){ return false; } - public static Method normalizedValueOf(String p0){ return null; } - public static boolean isIdempotent(String p0){ return false; } - public static boolean isSafe(String p0){ return false; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/NameValuePair.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/NameValuePair.java deleted file mode 100644 index 50fdab985a7..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/NameValuePair.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.NameValuePair for testing purposes - -package org.apache.hc.core5.http; - - -public interface NameValuePair -{ - String getName(); - String getValue(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ProtocolVersion.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ProtocolVersion.java deleted file mode 100644 index dbdc93c9233..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ProtocolVersion.java +++ /dev/null @@ -1,23 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.ProtocolVersion for testing purposes - -package org.apache.hc.core5.http; - -import java.io.Serializable; - -public class ProtocolVersion implements Serializable -{ - protected ProtocolVersion() {} - public ProtocolVersion(String p0, int p1, int p2){} - public String format(){ return null; } - public String toString(){ return null; } - public boolean isComparable(ProtocolVersion p0){ return false; } - public final String getProtocol(){ return null; } - public final boolean equals(Object p0){ return false; } - public final boolean equals(int p0, int p1){ return false; } - public final boolean greaterEquals(ProtocolVersion p0){ return false; } - public final boolean lessEquals(ProtocolVersion p0){ return false; } - public final int getMajor(){ return 0; } - public final int getMinor(){ return 0; } - public final int hashCode(){ return 0; } - public int compareToVersion(ProtocolVersion p0){ return 0; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/SocketModalCloseable.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/SocketModalCloseable.java deleted file mode 100644 index 1c16e962e08..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/SocketModalCloseable.java +++ /dev/null @@ -1,12 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.SocketModalCloseable for testing purposes - -package org.apache.hc.core5.http; - -import org.apache.hc.core5.io.ModalCloseable; -import org.apache.hc.core5.util.Timeout; - -public interface SocketModalCloseable extends ModalCloseable -{ - Timeout getSocketTimeout(); - void setSocketTimeout(Timeout p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/URIScheme.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/URIScheme.java deleted file mode 100644 index 5145c917bec..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/URIScheme.java +++ /dev/null @@ -1,14 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.URIScheme for testing purposes - -package org.apache.hc.core5.http; - - -public enum URIScheme -{ - HTTP, HTTPS; - private URIScheme() {} - public String getId(){ return null; } - public String toString(){ return null; } - public boolean same(String p0){ return false; } - public final String id = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/bootstrap/AbstractConnectionInitiatorBase.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/bootstrap/AbstractConnectionInitiatorBase.java deleted file mode 100644 index e3577b76387..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/bootstrap/AbstractConnectionInitiatorBase.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.impl.bootstrap.AbstractConnectionInitiatorBase for testing purposes - -package org.apache.hc.core5.http.impl.bootstrap; - -import java.net.SocketAddress; -import java.util.concurrent.Future; -import org.apache.hc.core5.concurrent.FutureCallback; -import org.apache.hc.core5.net.NamedEndpoint; -import org.apache.hc.core5.reactor.ConnectionInitiator; -import org.apache.hc.core5.reactor.IOSession; -import org.apache.hc.core5.util.Timeout; - -abstract class AbstractConnectionInitiatorBase implements ConnectionInitiator -{ - public final Future connect(NamedEndpoint p0, SocketAddress p1, SocketAddress p2, Timeout p3, Object p4, FutureCallback p5){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/bootstrap/AsyncRequester.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/bootstrap/AsyncRequester.java deleted file mode 100644 index ff10df989d0..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/bootstrap/AsyncRequester.java +++ /dev/null @@ -1,34 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.impl.bootstrap.AsyncRequester for testing purposes - -package org.apache.hc.core5.http.impl.bootstrap; - -import java.net.InetSocketAddress; -import java.util.concurrent.Future; -import org.apache.hc.core5.concurrent.FutureCallback; -import org.apache.hc.core5.function.Callback; -import org.apache.hc.core5.function.Decorator; -import org.apache.hc.core5.function.Resolver; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.impl.bootstrap.AbstractConnectionInitiatorBase; -import org.apache.hc.core5.io.CloseMode; -import org.apache.hc.core5.reactor.IOEventHandlerFactory; -import org.apache.hc.core5.reactor.IOReactorConfig; -import org.apache.hc.core5.reactor.IOReactorService; -import org.apache.hc.core5.reactor.IOReactorStatus; -import org.apache.hc.core5.reactor.IOSession; -import org.apache.hc.core5.reactor.IOSessionListener; -import org.apache.hc.core5.util.TimeValue; -import org.apache.hc.core5.util.Timeout; - -public class AsyncRequester extends AbstractConnectionInitiatorBase implements IOReactorService -{ - protected AsyncRequester() {} - public AsyncRequester(IOEventHandlerFactory p0, IOReactorConfig p1, Decorator p2, Callback p3, IOSessionListener p4, Callback p5, Resolver p6){} - public Future requestSession(HttpHost p0, Timeout p1, Object p2, FutureCallback p3){ return null; } - public IOReactorStatus getStatus(){ return null; } - public void awaitShutdown(TimeValue p0){} - public void close(){} - public void close(CloseMode p0){} - public void initiateShutdown(){} - public void start(){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/bootstrap/HttpAsyncRequester.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/bootstrap/HttpAsyncRequester.java deleted file mode 100644 index 75632e1ed6f..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/bootstrap/HttpAsyncRequester.java +++ /dev/null @@ -1,59 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.impl.bootstrap.HttpAsyncRequester for testing purposes - -package org.apache.hc.core5.http.impl.bootstrap; - -import java.util.Set; -import java.util.concurrent.Future; -import org.apache.hc.core5.concurrent.FutureCallback; -import org.apache.hc.core5.function.Callback; -import org.apache.hc.core5.function.Decorator; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.impl.bootstrap.AsyncRequester; -import org.apache.hc.core5.http.nio.AsyncClientEndpoint; -import org.apache.hc.core5.http.nio.AsyncClientExchangeHandler; -import org.apache.hc.core5.http.nio.AsyncPushConsumer; -import org.apache.hc.core5.http.nio.AsyncRequestProducer; -import org.apache.hc.core5.http.nio.AsyncResponseConsumer; -import org.apache.hc.core5.http.nio.HandlerFactory; -import org.apache.hc.core5.http.nio.ResourceHolder; -import org.apache.hc.core5.http.nio.ssl.TlsStrategy; -import org.apache.hc.core5.http.protocol.HttpContext; -import org.apache.hc.core5.io.ModalCloseable; -import org.apache.hc.core5.net.NamedEndpoint; -import org.apache.hc.core5.pool.ConnPoolControl; -import org.apache.hc.core5.pool.ManagedConnPool; -import org.apache.hc.core5.pool.PoolStats; -import org.apache.hc.core5.reactor.IOEventHandlerFactory; -import org.apache.hc.core5.reactor.IOReactorConfig; -import org.apache.hc.core5.reactor.IOSession; -import org.apache.hc.core5.reactor.IOSessionListener; -import org.apache.hc.core5.reactor.ProtocolIOSession; -import org.apache.hc.core5.util.TimeValue; -import org.apache.hc.core5.util.Timeout; - -public class HttpAsyncRequester extends AsyncRequester implements ConnPoolControl -{ - protected HttpAsyncRequester() {} - protected Future doConnect(HttpHost p0, Timeout p1, Object p2, FutureCallback p3){ return null; } - protected void doTlsUpgrade(ProtocolIOSession p0, NamedEndpoint p1, FutureCallback p2){} - public Future connect(HttpHost p0, Timeout p1){ return null; } - public Future connect(HttpHost p0, Timeout p1, Object p2, FutureCallback p3){ return null; } - public HttpAsyncRequester(IOReactorConfig p0, IOEventHandlerFactory p1, Decorator p2, Callback p3, IOSessionListener p4, ManagedConnPool p5){} - public HttpAsyncRequester(IOReactorConfig p0, IOEventHandlerFactory p1, Decorator p2, Callback p3, IOSessionListener p4, ManagedConnPool p5, TlsStrategy p6, Timeout p7){} - public PoolStats getStats(HttpHost p0){ return null; } - public PoolStats getTotalStats(){ return null; } - public Set getRoutes(){ return null; } - public final java.util.concurrent.Future execute(AsyncRequestProducer p0, org.apache.hc.core5.http.nio.AsyncResponseConsumer p1, HandlerFactory p2, Timeout p3, HttpContext p4, org.apache.hc.core5.concurrent.FutureCallback p5){ return null; } - public final java.util.concurrent.Future execute(AsyncRequestProducer p0, org.apache.hc.core5.http.nio.AsyncResponseConsumer p1, Timeout p2, HttpContext p3, org.apache.hc.core5.concurrent.FutureCallback p4){ return null; } - public final java.util.concurrent.Future execute(AsyncRequestProducer p0, org.apache.hc.core5.http.nio.AsyncResponseConsumer p1, Timeout p2, org.apache.hc.core5.concurrent.FutureCallback p3){ return null; } - public int getDefaultMaxPerRoute(){ return 0; } - public int getMaxPerRoute(HttpHost p0){ return 0; } - public int getMaxTotal(){ return 0; } - public void closeExpired(){} - public void closeIdle(TimeValue p0){} - public void execute(AsyncClientExchangeHandler p0, HandlerFactory p1, Timeout p2, HttpContext p3){} - public void execute(AsyncClientExchangeHandler p0, Timeout p1, HttpContext p2){} - public void setDefaultMaxPerRoute(int p0){} - public void setMaxPerRoute(HttpHost p0, int p1){} - public void setMaxTotal(int p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/io/DefaultClassicHttpRequestFactory.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/io/DefaultClassicHttpRequestFactory.java deleted file mode 100644 index 8d807c9ad35..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/io/DefaultClassicHttpRequestFactory.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.impl.io.DefaultClassicHttpRequestFactory for testing purposes - -package org.apache.hc.core5.http.impl.io; - -import java.net.URI; -import org.apache.hc.core5.http.ClassicHttpRequest; -import org.apache.hc.core5.http.HttpRequest; -import org.apache.hc.core5.http.HttpRequestFactory; - -public class DefaultClassicHttpRequestFactory implements HttpRequestFactory -{ - public ClassicHttpRequest newHttpRequest(String p0, String p1){ return null; } - public ClassicHttpRequest newHttpRequest(String p0, URI p1){ return null; } - public DefaultClassicHttpRequestFactory(){} - public static DefaultClassicHttpRequestFactory INSTANCE = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/nio/DefaultHttpRequestFactory.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/nio/DefaultHttpRequestFactory.java deleted file mode 100644 index ae3274e8e86..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/impl/nio/DefaultHttpRequestFactory.java +++ /dev/null @@ -1,15 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.impl.nio.DefaultHttpRequestFactory for testing purposes - -package org.apache.hc.core5.http.impl.nio; - -import java.net.URI; -import org.apache.hc.core5.http.HttpRequest; -import org.apache.hc.core5.http.HttpRequestFactory; - -public class DefaultHttpRequestFactory implements HttpRequestFactory -{ - public DefaultHttpRequestFactory(){} - public HttpRequest newHttpRequest(String p0, String p1){ return null; } - public HttpRequest newHttpRequest(String p0, URI p1){ return null; } - public static DefaultHttpRequestFactory INSTANCE = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/io/HttpClientResponseHandler.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/io/HttpClientResponseHandler.java deleted file mode 100644 index 839e90c97ab..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/io/HttpClientResponseHandler.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.io.HttpClientResponseHandler for testing purposes - -package org.apache.hc.core5.http.io; - -import org.apache.hc.core5.http.ClassicHttpResponse; - -public interface HttpClientResponseHandler -{ - T handleResponse(ClassicHttpResponse p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/io/support/ClassicRequestBuilder.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/io/support/ClassicRequestBuilder.java deleted file mode 100644 index 8479f00cad8..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/io/support/ClassicRequestBuilder.java +++ /dev/null @@ -1,73 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.io.support.ClassicRequestBuilder for testing purposes - -package org.apache.hc.core5.http.io.support; - -import java.net.URI; -import java.nio.charset.Charset; -import org.apache.hc.core5.http.ClassicHttpRequest; -import org.apache.hc.core5.http.ContentType; -import org.apache.hc.core5.http.Header; -import org.apache.hc.core5.http.HttpEntity; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.NameValuePair; -import org.apache.hc.core5.http.ProtocolVersion; -import org.apache.hc.core5.http.support.AbstractRequestBuilder; -import org.apache.hc.core5.net.URIAuthority; - -public class ClassicRequestBuilder extends AbstractRequestBuilder -{ - protected ClassicRequestBuilder() {} - protected void digest(ClassicHttpRequest p0){} - public ClassicHttpRequest build(){ return null; } - public ClassicRequestBuilder addHeader(Header p0){ return null; } - public ClassicRequestBuilder addHeader(String p0, String p1){ return null; } - public ClassicRequestBuilder addParameter(NameValuePair p0){ return null; } - public ClassicRequestBuilder addParameter(String p0, String p1){ return null; } - public ClassicRequestBuilder addParameters(NameValuePair... p0){ return null; } - public ClassicRequestBuilder removeHeader(Header p0){ return null; } - public ClassicRequestBuilder removeHeaders(String p0){ return null; } - public ClassicRequestBuilder setAbsoluteRequestUri(boolean p0){ return null; } - public ClassicRequestBuilder setAuthority(URIAuthority p0){ return null; } - public ClassicRequestBuilder setCharset(Charset p0){ return null; } - public ClassicRequestBuilder setEntity(HttpEntity p0){ return null; } - public ClassicRequestBuilder setEntity(String p0){ return null; } - public ClassicRequestBuilder setEntity(String p0, ContentType p1){ return null; } - public ClassicRequestBuilder setEntity(byte[] p0, ContentType p1){ return null; } - public ClassicRequestBuilder setHeader(Header p0){ return null; } - public ClassicRequestBuilder setHeader(String p0, String p1){ return null; } - public ClassicRequestBuilder setHeaders(Header... p0){ return null; } - public ClassicRequestBuilder setHttpHost(HttpHost p0){ return null; } - public ClassicRequestBuilder setPath(String p0){ return null; } - public ClassicRequestBuilder setScheme(String p0){ return null; } - public ClassicRequestBuilder setUri(String p0){ return null; } - public ClassicRequestBuilder setUri(URI p0){ return null; } - public ClassicRequestBuilder setVersion(ProtocolVersion p0){ return null; } - public HttpEntity getEntity(){ return null; } - public String toString(){ return null; } - public static ClassicRequestBuilder copy(ClassicHttpRequest p0){ return null; } - public static ClassicRequestBuilder create(String p0){ return null; } - public static ClassicRequestBuilder delete(){ return null; } - public static ClassicRequestBuilder delete(String p0){ return null; } - public static ClassicRequestBuilder delete(URI p0){ return null; } - public static ClassicRequestBuilder get(){ return null; } - public static ClassicRequestBuilder get(String p0){ return null; } - public static ClassicRequestBuilder get(URI p0){ return null; } - public static ClassicRequestBuilder head(){ return null; } - public static ClassicRequestBuilder head(String p0){ return null; } - public static ClassicRequestBuilder head(URI p0){ return null; } - public static ClassicRequestBuilder options(){ return null; } - public static ClassicRequestBuilder options(String p0){ return null; } - public static ClassicRequestBuilder options(URI p0){ return null; } - public static ClassicRequestBuilder patch(){ return null; } - public static ClassicRequestBuilder patch(String p0){ return null; } - public static ClassicRequestBuilder patch(URI p0){ return null; } - public static ClassicRequestBuilder post(){ return null; } - public static ClassicRequestBuilder post(String p0){ return null; } - public static ClassicRequestBuilder post(URI p0){ return null; } - public static ClassicRequestBuilder put(){ return null; } - public static ClassicRequestBuilder put(String p0){ return null; } - public static ClassicRequestBuilder put(URI p0){ return null; } - public static ClassicRequestBuilder trace(){ return null; } - public static ClassicRequestBuilder trace(String p0){ return null; } - public static ClassicRequestBuilder trace(URI p0){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/AbstractMessageWrapper.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/AbstractMessageWrapper.java deleted file mode 100644 index 4b967f7f737..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/AbstractMessageWrapper.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.message.AbstractMessageWrapper for testing purposes - -package org.apache.hc.core5.http.message; - -import java.util.Iterator; -import org.apache.hc.core5.http.Header; -import org.apache.hc.core5.http.HttpMessage; -import org.apache.hc.core5.http.ProtocolVersion; - -abstract public class AbstractMessageWrapper implements HttpMessage -{ - protected AbstractMessageWrapper() {} - public AbstractMessageWrapper(HttpMessage p0){} - public Header getFirstHeader(String p0){ return null; } - public Header getHeader(String p0){ return null; } - public Header getLastHeader(String p0){ return null; } - public Header[] getHeaders(){ return null; } - public Header[] getHeaders(String p0){ return null; } - public Iterator
headerIterator(){ return null; } - public Iterator
headerIterator(String p0){ return null; } - public ProtocolVersion getVersion(){ return null; } - public String toString(){ return null; } - public boolean containsHeader(String p0){ return false; } - public boolean removeHeader(Header p0){ return false; } - public boolean removeHeaders(String p0){ return false; } - public int countHeaders(String p0){ return 0; } - public void addHeader(Header p0){} - public void addHeader(String p0, Object p1){} - public void setHeader(Header p0){} - public void setHeader(String p0, Object p1){} - public void setHeaders(Header... p0){} - public void setVersion(ProtocolVersion p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/BasicClassicHttpRequest.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/BasicClassicHttpRequest.java deleted file mode 100644 index 3330aa30812..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/BasicClassicHttpRequest.java +++ /dev/null @@ -1,25 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.message.BasicClassicHttpRequest for testing purposes - -package org.apache.hc.core5.http.message; - -import java.net.URI; -import org.apache.hc.core5.http.ClassicHttpRequest; -import org.apache.hc.core5.http.HttpEntity; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.Method; -import org.apache.hc.core5.http.message.BasicHttpRequest; -import org.apache.hc.core5.net.URIAuthority; - -public class BasicClassicHttpRequest extends BasicHttpRequest implements ClassicHttpRequest -{ - protected BasicClassicHttpRequest() {} - public BasicClassicHttpRequest(Method p0, HttpHost p1, String p2){} - public BasicClassicHttpRequest(Method p0, String p1){} - public BasicClassicHttpRequest(Method p0, URI p1){} - public BasicClassicHttpRequest(String p0, HttpHost p1, String p2){} - public BasicClassicHttpRequest(String p0, String p1){} - public BasicClassicHttpRequest(String p0, String p1, URIAuthority p2, String p3){} - public BasicClassicHttpRequest(String p0, URI p1){} - public HttpEntity getEntity(){ return null; } - public void setEntity(HttpEntity p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/BasicHttpRequest.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/BasicHttpRequest.java deleted file mode 100644 index da824745160..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/BasicHttpRequest.java +++ /dev/null @@ -1,39 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.message.BasicHttpRequest for testing purposes - -package org.apache.hc.core5.http.message; - -import java.net.URI; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.HttpRequest; -import org.apache.hc.core5.http.Method; -import org.apache.hc.core5.http.ProtocolVersion; -import org.apache.hc.core5.http.message.HeaderGroup; -import org.apache.hc.core5.net.URIAuthority; - -public class BasicHttpRequest extends HeaderGroup implements HttpRequest -{ - protected BasicHttpRequest() {} - public BasicHttpRequest(Method p0, HttpHost p1, String p2){} - public BasicHttpRequest(Method p0, String p1){} - public BasicHttpRequest(Method p0, URI p1){} - public BasicHttpRequest(String p0, HttpHost p1, String p2){} - public BasicHttpRequest(String p0, String p1){} - public BasicHttpRequest(String p0, String p1, URIAuthority p2, String p3){} - public BasicHttpRequest(String p0, URI p1){} - public ProtocolVersion getVersion(){ return null; } - public String getMethod(){ return null; } - public String getPath(){ return null; } - public String getRequestUri(){ return null; } - public String getScheme(){ return null; } - public String toString(){ return null; } - public URI getUri(){ return null; } - public URIAuthority getAuthority(){ return null; } - public void addHeader(String p0, Object p1){} - public void setAbsoluteRequestUri(boolean p0){} - public void setAuthority(URIAuthority p0){} - public void setHeader(String p0, Object p1){} - public void setPath(String p0){} - public void setScheme(String p0){} - public void setUri(URI p0){} - public void setVersion(ProtocolVersion p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/HeaderGroup.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/HeaderGroup.java deleted file mode 100644 index 10b7e1cb87e..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/HeaderGroup.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.message.HeaderGroup for testing purposes - -package org.apache.hc.core5.http.message; - -import java.io.Serializable; -import java.util.Iterator; -import org.apache.hc.core5.http.Header; -import org.apache.hc.core5.http.MessageHeaders; - -public class HeaderGroup implements MessageHeaders, Serializable -{ - public Header getCondensedHeader(String p0){ return null; } - public Header getFirstHeader(String p0){ return null; } - public Header getHeader(String p0){ return null; } - public Header getLastHeader(String p0){ return null; } - public HeaderGroup(){} - public Header[] getHeaders(){ return null; } - public Header[] getHeaders(String p0){ return null; } - public Iterator
headerIterator(){ return null; } - public Iterator
headerIterator(String p0){ return null; } - public String toString(){ return null; } - public boolean containsHeader(String p0){ return false; } - public boolean removeHeader(Header p0){ return false; } - public boolean removeHeaders(Header p0){ return false; } - public boolean removeHeaders(String p0){ return false; } - public int countHeaders(String p0){ return 0; } - public void addHeader(Header p0){} - public void clear(){} - public void setHeader(Header p0){} - public void setHeaders(Header... p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/HttpRequestWrapper.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/HttpRequestWrapper.java deleted file mode 100644 index b738ad4a0f4..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/message/HttpRequestWrapper.java +++ /dev/null @@ -1,24 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.message.HttpRequestWrapper for testing purposes - -package org.apache.hc.core5.http.message; - -import java.net.URI; -import org.apache.hc.core5.http.HttpRequest; -import org.apache.hc.core5.http.message.AbstractMessageWrapper; -import org.apache.hc.core5.net.URIAuthority; - -public class HttpRequestWrapper extends AbstractMessageWrapper implements HttpRequest -{ - protected HttpRequestWrapper() {} - public HttpRequestWrapper(HttpRequest p0){} - public String getMethod(){ return null; } - public String getPath(){ return null; } - public String getRequestUri(){ return null; } - public String getScheme(){ return null; } - public URI getUri(){ return null; } - public URIAuthority getAuthority(){ return null; } - public void setAuthority(URIAuthority p0){} - public void setPath(String p0){} - public void setScheme(String p0){} - public void setUri(URI p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncClientEndpoint.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncClientEndpoint.java deleted file mode 100644 index a861f02d0fb..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncClientEndpoint.java +++ /dev/null @@ -1,26 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.AsyncClientEndpoint for testing purposes - -package org.apache.hc.core5.http.nio; - -import java.util.concurrent.Future; -import org.apache.hc.core5.concurrent.FutureCallback; -import org.apache.hc.core5.http.nio.AsyncClientExchangeHandler; -import org.apache.hc.core5.http.nio.AsyncPushConsumer; -import org.apache.hc.core5.http.nio.AsyncRequestProducer; -import org.apache.hc.core5.http.nio.AsyncResponseConsumer; -import org.apache.hc.core5.http.nio.HandlerFactory; -import org.apache.hc.core5.http.nio.ResourceHolder; -import org.apache.hc.core5.http.protocol.HttpContext; - -abstract public class AsyncClientEndpoint -{ - public AsyncClientEndpoint(){} - public abstract boolean isConnected(); - public abstract void execute(AsyncClientExchangeHandler p0, HandlerFactory p1, HttpContext p2); - public abstract void releaseAndDiscard(); - public abstract void releaseAndReuse(); - public final java.util.concurrent.Future execute(AsyncRequestProducer p0, org.apache.hc.core5.http.nio.AsyncResponseConsumer p1, HandlerFactory p2, HttpContext p3, org.apache.hc.core5.concurrent.FutureCallback p4){ return null; } - public final java.util.concurrent.Future execute(AsyncRequestProducer p0, org.apache.hc.core5.http.nio.AsyncResponseConsumer p1, HttpContext p2, org.apache.hc.core5.concurrent.FutureCallback p3){ return null; } - public final java.util.concurrent.Future execute(AsyncRequestProducer p0, org.apache.hc.core5.http.nio.AsyncResponseConsumer p1, org.apache.hc.core5.concurrent.FutureCallback p2){ return null; } - public void execute(AsyncClientExchangeHandler p0, HttpContext p1){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncClientExchangeHandler.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncClientExchangeHandler.java deleted file mode 100644 index cb6ed3dd475..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncClientExchangeHandler.java +++ /dev/null @@ -1,17 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.AsyncClientExchangeHandler for testing purposes - -package org.apache.hc.core5.http.nio; - -import org.apache.hc.core5.http.EntityDetails; -import org.apache.hc.core5.http.HttpResponse; -import org.apache.hc.core5.http.nio.AsyncDataExchangeHandler; -import org.apache.hc.core5.http.nio.RequestChannel; -import org.apache.hc.core5.http.protocol.HttpContext; - -public interface AsyncClientExchangeHandler extends AsyncDataExchangeHandler -{ - void cancel(); - void consumeInformation(HttpResponse p0, HttpContext p1); - void consumeResponse(HttpResponse p0, EntityDetails p1, HttpContext p2); - void produceRequest(RequestChannel p0, HttpContext p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncDataConsumer.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncDataConsumer.java deleted file mode 100644 index a9fc2120157..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncDataConsumer.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.AsyncDataConsumer for testing purposes - -package org.apache.hc.core5.http.nio; - -import java.nio.ByteBuffer; -import java.util.List; -import org.apache.hc.core5.http.Header; -import org.apache.hc.core5.http.nio.CapacityChannel; -import org.apache.hc.core5.http.nio.ResourceHolder; - -public interface AsyncDataConsumer extends ResourceHolder -{ - void consume(ByteBuffer p0); - void streamEnd(List p0); - void updateCapacity(CapacityChannel p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncDataExchangeHandler.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncDataExchangeHandler.java deleted file mode 100644 index 8b3b964ded0..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncDataExchangeHandler.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.AsyncDataExchangeHandler for testing purposes - -package org.apache.hc.core5.http.nio; - -import org.apache.hc.core5.http.nio.AsyncDataConsumer; -import org.apache.hc.core5.http.nio.AsyncDataProducer; - -public interface AsyncDataExchangeHandler extends AsyncDataConsumer, AsyncDataProducer -{ - void failed(Exception p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncDataProducer.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncDataProducer.java deleted file mode 100644 index d6231bcd905..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncDataProducer.java +++ /dev/null @@ -1,12 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.AsyncDataProducer for testing purposes - -package org.apache.hc.core5.http.nio; - -import org.apache.hc.core5.http.nio.DataStreamChannel; -import org.apache.hc.core5.http.nio.ResourceHolder; - -public interface AsyncDataProducer extends ResourceHolder -{ - int available(); - void produce(DataStreamChannel p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncPushConsumer.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncPushConsumer.java deleted file mode 100644 index ce375bbca6e..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncPushConsumer.java +++ /dev/null @@ -1,15 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.AsyncPushConsumer for testing purposes - -package org.apache.hc.core5.http.nio; - -import org.apache.hc.core5.http.EntityDetails; -import org.apache.hc.core5.http.HttpRequest; -import org.apache.hc.core5.http.HttpResponse; -import org.apache.hc.core5.http.nio.AsyncDataConsumer; -import org.apache.hc.core5.http.protocol.HttpContext; - -public interface AsyncPushConsumer extends AsyncDataConsumer -{ - void consumePromise(HttpRequest p0, HttpResponse p1, EntityDetails p2, HttpContext p3); - void failed(Exception p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncRequestProducer.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncRequestProducer.java deleted file mode 100644 index 6b2e8148b52..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncRequestProducer.java +++ /dev/null @@ -1,14 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.AsyncRequestProducer for testing purposes - -package org.apache.hc.core5.http.nio; - -import org.apache.hc.core5.http.nio.AsyncDataProducer; -import org.apache.hc.core5.http.nio.RequestChannel; -import org.apache.hc.core5.http.protocol.HttpContext; - -public interface AsyncRequestProducer extends AsyncDataProducer -{ - boolean isRepeatable(); - void failed(Exception p0); - void sendRequest(RequestChannel p0, HttpContext p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncResponseConsumer.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncResponseConsumer.java deleted file mode 100644 index 8f508b9e52e..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/AsyncResponseConsumer.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.AsyncResponseConsumer for testing purposes - -package org.apache.hc.core5.http.nio; - -import org.apache.hc.core5.concurrent.FutureCallback; -import org.apache.hc.core5.http.EntityDetails; -import org.apache.hc.core5.http.HttpResponse; -import org.apache.hc.core5.http.nio.AsyncDataConsumer; -import org.apache.hc.core5.http.protocol.HttpContext; - -public interface AsyncResponseConsumer extends AsyncDataConsumer -{ - void consumeResponse(HttpResponse p0, EntityDetails p1, HttpContext p2, org.apache.hc.core5.concurrent.FutureCallback p3); - void failed(Exception p0); - void informationResponse(HttpResponse p0, HttpContext p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/CapacityChannel.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/CapacityChannel.java deleted file mode 100644 index 63230980da5..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/CapacityChannel.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.CapacityChannel for testing purposes - -package org.apache.hc.core5.http.nio; - - -public interface CapacityChannel -{ - void update(int p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/DataStreamChannel.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/DataStreamChannel.java deleted file mode 100644 index 12eaa1729f6..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/DataStreamChannel.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.DataStreamChannel for testing purposes - -package org.apache.hc.core5.http.nio; - -import java.nio.Buffer; -import java.nio.ByteBuffer; -import java.util.List; -import org.apache.hc.core5.http.Header; -import org.apache.hc.core5.http.nio.StreamChannel; - -public interface DataStreamChannel extends StreamChannel -{ - int write(ByteBuffer p0); - void endStream(List p0); - void requestOutput(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/HandlerFactory.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/HandlerFactory.java deleted file mode 100644 index f09e9db5b71..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/HandlerFactory.java +++ /dev/null @@ -1,12 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.HandlerFactory for testing purposes - -package org.apache.hc.core5.http.nio; - -import org.apache.hc.core5.http.HttpRequest; -import org.apache.hc.core5.http.nio.ResourceHolder; -import org.apache.hc.core5.http.protocol.HttpContext; - -public interface HandlerFactory -{ - T create(HttpRequest p0, HttpContext p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/RequestChannel.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/RequestChannel.java deleted file mode 100644 index e261b2c6a04..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/RequestChannel.java +++ /dev/null @@ -1,12 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.RequestChannel for testing purposes - -package org.apache.hc.core5.http.nio; - -import org.apache.hc.core5.http.EntityDetails; -import org.apache.hc.core5.http.HttpRequest; -import org.apache.hc.core5.http.protocol.HttpContext; - -public interface RequestChannel -{ - void sendRequest(HttpRequest p0, EntityDetails p1, HttpContext p2); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/ResourceHolder.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/ResourceHolder.java deleted file mode 100644 index ccf87c798dd..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/ResourceHolder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.ResourceHolder for testing purposes - -package org.apache.hc.core5.http.nio; - - -public interface ResourceHolder -{ - void releaseResources(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/StreamChannel.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/StreamChannel.java deleted file mode 100644 index 20e7d39ba7a..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/StreamChannel.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.StreamChannel for testing purposes - -package org.apache.hc.core5.http.nio; - -import java.nio.Buffer; - -public interface StreamChannel -{ - int write(T p0); - void endStream(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/ssl/TlsStrategy.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/ssl/TlsStrategy.java deleted file mode 100644 index 24dbb2cb4d6..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/nio/ssl/TlsStrategy.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.nio.ssl.TlsStrategy for testing purposes - -package org.apache.hc.core5.http.nio.ssl; - -import java.net.SocketAddress; -import org.apache.hc.core5.concurrent.FutureCallback; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.net.NamedEndpoint; -import org.apache.hc.core5.reactor.ssl.TransportSecurityLayer; -import org.apache.hc.core5.util.Timeout; - -public interface TlsStrategy -{ - boolean upgrade(TransportSecurityLayer p0, HttpHost p1, SocketAddress p2, SocketAddress p3, Object p4, Timeout p5); - default void upgrade(TransportSecurityLayer p0, NamedEndpoint p1, Object p2, Timeout p3, FutureCallback p4){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/protocol/HttpContext.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/protocol/HttpContext.java deleted file mode 100644 index 71145309551..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/protocol/HttpContext.java +++ /dev/null @@ -1,15 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.protocol.HttpContext for testing purposes - -package org.apache.hc.core5.http.protocol; - -import org.apache.hc.core5.http.ProtocolVersion; - -public interface HttpContext -{ - Object getAttribute(String p0); - Object removeAttribute(String p0); - Object setAttribute(String p0, Object p1); - ProtocolVersion getProtocolVersion(); - static String RESERVED_PREFIX = null; - void setProtocolVersion(ProtocolVersion p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/support/AbstractMessageBuilder.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/support/AbstractMessageBuilder.java deleted file mode 100644 index 84b4a49d501..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/support/AbstractMessageBuilder.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.support.AbstractMessageBuilder for testing purposes - -package org.apache.hc.core5.http.support; - -import java.util.Iterator; -import org.apache.hc.core5.http.Header; -import org.apache.hc.core5.http.HttpMessage; -import org.apache.hc.core5.http.ProtocolVersion; - -abstract public class AbstractMessageBuilder -{ - protected AbstractMessageBuilder(){} - protected abstract T build(); - protected void digest(HttpMessage p0){} - public AbstractMessageBuilder addHeader(Header p0){ return null; } - public AbstractMessageBuilder addHeader(String p0, String p1){ return null; } - public AbstractMessageBuilder removeHeader(Header p0){ return null; } - public AbstractMessageBuilder removeHeaders(String p0){ return null; } - public AbstractMessageBuilder setHeader(Header p0){ return null; } - public AbstractMessageBuilder setHeader(String p0, String p1){ return null; } - public AbstractMessageBuilder setHeaders(Header... p0){ return null; } - public AbstractMessageBuilder setHeaders(Iterator
p0){ return null; } - public AbstractMessageBuilder setVersion(ProtocolVersion p0){ return null; } - public Header getFirstHeader(String p0){ return null; } - public Header getLastHeader(String p0){ return null; } - public Header[] getFirstHeaders(){ return null; } - public Header[] getHeaders(){ return null; } - public Header[] getHeaders(String p0){ return null; } - public ProtocolVersion getVersion(){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/support/AbstractRequestBuilder.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/support/AbstractRequestBuilder.java deleted file mode 100644 index c95ec1c7157..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/support/AbstractRequestBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -// Generated automatically from org.apache.hc.core5.http.support.AbstractRequestBuilder for testing purposes - -package org.apache.hc.core5.http.support; - -import java.net.URI; -import java.nio.charset.Charset; -import java.util.List; -import org.apache.hc.core5.http.Header; -import org.apache.hc.core5.http.HttpHost; -import org.apache.hc.core5.http.HttpRequest; -import org.apache.hc.core5.http.Method; -import org.apache.hc.core5.http.NameValuePair; -import org.apache.hc.core5.http.ProtocolVersion; -import org.apache.hc.core5.http.support.AbstractMessageBuilder; -import org.apache.hc.core5.net.URIAuthority; - -abstract public class AbstractRequestBuilder extends AbstractMessageBuilder -{ - protected AbstractRequestBuilder() {} - protected AbstractRequestBuilder(Method p0){} - protected AbstractRequestBuilder(Method p0, String p1){} - protected AbstractRequestBuilder(Method p0, URI p1){} - protected AbstractRequestBuilder(String p0){} - protected AbstractRequestBuilder(String p0, String p1){} - protected AbstractRequestBuilder(String p0, URI p1){} - protected void digest(HttpRequest p0){} - public AbstractRequestBuilder addHeader(Header p0){ return null; } - public AbstractRequestBuilder addHeader(String p0, String p1){ return null; } - public AbstractRequestBuilder addParameter(NameValuePair p0){ return null; } - public AbstractRequestBuilder addParameter(String p0, String p1){ return null; } - public AbstractRequestBuilder addParameters(NameValuePair... p0){ return null; } - public AbstractRequestBuilder removeHeader(Header p0){ return null; } - public AbstractRequestBuilder removeHeaders(String p0){ return null; } - public AbstractRequestBuilder setAbsoluteRequestUri(boolean p0){ return null; } - public AbstractRequestBuilder setAuthority(URIAuthority p0){ return null; } - public AbstractRequestBuilder setCharset(Charset p0){ return null; } - public AbstractRequestBuilder setHeader(Header p0){ return null; } - public AbstractRequestBuilder setHeader(String p0, String p1){ return null; } - public AbstractRequestBuilder setHeaders(Header... p0){ return null; } - public AbstractRequestBuilder setHttpHost(HttpHost p0){ return null; } - public AbstractRequestBuilder setPath(String p0){ return null; } - public AbstractRequestBuilder setScheme(String p0){ return null; } - public AbstractRequestBuilder setUri(String p0){ return null; } - public AbstractRequestBuilder setUri(URI p0){ return null; } - public AbstractRequestBuilder setVersion(ProtocolVersion p0){ return null; } - public Charset getCharset(){ return null; } - public List getParameters(){ return null; } - public String getMethod(){ return null; } - public String getPath(){ return null; } - public String getScheme(){ return null; } - public URI getUri(){ return null; } - public URIAuthority getAuthority(){ return null; } - public boolean isAbsoluteRequestUri(){ return false; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/io/CloseMode.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/io/CloseMode.java deleted file mode 100644 index 3616bb2e5b3..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/io/CloseMode.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from org.apache.hc.core5.io.CloseMode for testing purposes - -package org.apache.hc.core5.io; - - -public enum CloseMode -{ - GRACEFUL, IMMEDIATE; - private CloseMode() {} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/io/ModalCloseable.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/io/ModalCloseable.java deleted file mode 100644 index 70b60eefdfe..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/io/ModalCloseable.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from org.apache.hc.core5.io.ModalCloseable for testing purposes - -package org.apache.hc.core5.io; - -import java.io.Closeable; -import org.apache.hc.core5.io.CloseMode; - -public interface ModalCloseable extends Closeable -{ - void close(CloseMode p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/net/Host.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/net/Host.java deleted file mode 100644 index 52c726c0e63..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/net/Host.java +++ /dev/null @@ -1,18 +0,0 @@ -// Generated automatically from org.apache.hc.core5.net.Host for testing purposes - -package org.apache.hc.core5.net; - -import java.io.Serializable; -import org.apache.hc.core5.net.NamedEndpoint; - -public class Host implements NamedEndpoint, Serializable -{ - protected Host() {} - public Host(String p0, int p1){} - public String getHostName(){ return null; } - public String toString(){ return null; } - public boolean equals(Object p0){ return false; } - public int getPort(){ return 0; } - public int hashCode(){ return 0; } - public static Host create(String p0){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/net/NamedEndpoint.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/net/NamedEndpoint.java deleted file mode 100644 index 9840de9d719..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/net/NamedEndpoint.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from org.apache.hc.core5.net.NamedEndpoint for testing purposes - -package org.apache.hc.core5.net; - - -public interface NamedEndpoint -{ - String getHostName(); - int getPort(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/net/URIAuthority.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/net/URIAuthority.java deleted file mode 100644 index b8c0f7165d3..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/net/URIAuthority.java +++ /dev/null @@ -1,26 +0,0 @@ -// Generated automatically from org.apache.hc.core5.net.URIAuthority for testing purposes - -package org.apache.hc.core5.net; - -import java.io.Serializable; -import org.apache.hc.core5.net.Host; -import org.apache.hc.core5.net.NamedEndpoint; - -public class URIAuthority implements NamedEndpoint, Serializable -{ - protected URIAuthority() {} - public String getHostName(){ return null; } - public String getUserInfo(){ return null; } - public String toString(){ return null; } - public URIAuthority(Host p0){} - public URIAuthority(NamedEndpoint p0){} - public URIAuthority(String p0){} - public URIAuthority(String p0, Host p1){} - public URIAuthority(String p0, NamedEndpoint p1){} - public URIAuthority(String p0, String p1, int p2){} - public URIAuthority(String p0, int p1){} - public boolean equals(Object p0){ return false; } - public int getPort(){ return 0; } - public int hashCode(){ return 0; } - public static URIAuthority create(String p0){ return null; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/ConnPool.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/ConnPool.java deleted file mode 100644 index a36ddc7c758..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/ConnPool.java +++ /dev/null @@ -1,15 +0,0 @@ -// Generated automatically from org.apache.hc.core5.pool.ConnPool for testing purposes - -package org.apache.hc.core5.pool; - -import java.util.concurrent.Future; -import org.apache.hc.core5.concurrent.FutureCallback; -import org.apache.hc.core5.io.ModalCloseable; -import org.apache.hc.core5.pool.PoolEntry; -import org.apache.hc.core5.util.Timeout; - -public interface ConnPool -{ - java.util.concurrent.Future> lease(T p0, Object p1, Timeout p2, org.apache.hc.core5.concurrent.FutureCallback> p3); - void release(org.apache.hc.core5.pool.PoolEntry p0, boolean p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/ConnPoolControl.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/ConnPoolControl.java deleted file mode 100644 index bfd0b6353a9..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/ConnPoolControl.java +++ /dev/null @@ -1,20 +0,0 @@ -// Generated automatically from org.apache.hc.core5.pool.ConnPoolControl for testing purposes - -package org.apache.hc.core5.pool; - -import java.util.Set; -import org.apache.hc.core5.pool.ConnPoolStats; -import org.apache.hc.core5.util.TimeValue; - -public interface ConnPoolControl extends org.apache.hc.core5.pool.ConnPoolStats -{ - int getDefaultMaxPerRoute(); - int getMaxPerRoute(T p0); - int getMaxTotal(); - java.util.Set getRoutes(); - void closeExpired(); - void closeIdle(TimeValue p0); - void setDefaultMaxPerRoute(int p0); - void setMaxPerRoute(T p0, int p1); - void setMaxTotal(int p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/ConnPoolStats.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/ConnPoolStats.java deleted file mode 100644 index eff20f6aa46..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/ConnPoolStats.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from org.apache.hc.core5.pool.ConnPoolStats for testing purposes - -package org.apache.hc.core5.pool; - -import org.apache.hc.core5.pool.PoolStats; - -public interface ConnPoolStats -{ - PoolStats getStats(T p0); - PoolStats getTotalStats(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/DisposalCallback.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/DisposalCallback.java deleted file mode 100644 index a0252fcfb27..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/DisposalCallback.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from org.apache.hc.core5.pool.DisposalCallback for testing purposes - -package org.apache.hc.core5.pool; - -import org.apache.hc.core5.io.CloseMode; -import org.apache.hc.core5.io.ModalCloseable; - -public interface DisposalCallback -{ - void execute(T p0, CloseMode p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/ManagedConnPool.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/ManagedConnPool.java deleted file mode 100644 index d2afc54878c..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/ManagedConnPool.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from org.apache.hc.core5.pool.ManagedConnPool for testing purposes - -package org.apache.hc.core5.pool; - -import org.apache.hc.core5.io.ModalCloseable; -import org.apache.hc.core5.pool.ConnPool; -import org.apache.hc.core5.pool.ConnPoolControl; - -public interface ManagedConnPool extends ConnPool, ConnPoolControl, ModalCloseable -{ -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/PoolEntry.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/PoolEntry.java deleted file mode 100644 index 2214195628b..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/PoolEntry.java +++ /dev/null @@ -1,30 +0,0 @@ -// Generated automatically from org.apache.hc.core5.pool.PoolEntry for testing purposes - -package org.apache.hc.core5.pool; - -import org.apache.hc.core5.io.CloseMode; -import org.apache.hc.core5.io.ModalCloseable; -import org.apache.hc.core5.pool.DisposalCallback; -import org.apache.hc.core5.util.Deadline; -import org.apache.hc.core5.util.TimeValue; - -public class PoolEntry -{ - protected PoolEntry() {} - public C getConnection(){ return null; } - public Deadline getExpiryDeadline(){ return null; } - public Deadline getValidityDeadline(){ return null; } - public Object getState(){ return null; } - public PoolEntry(T p0){} - public PoolEntry(T p0, TimeValue p1){} - public PoolEntry(T p0, TimeValue p1, DisposalCallback p2){} - public String toString(){ return null; } - public T getRoute(){ return null; } - public boolean hasConnection(){ return false; } - public long getCreated(){ return 0; } - public long getUpdated(){ return 0; } - public void assignConnection(C p0){} - public void discardConnection(CloseMode p0){} - public void updateExpiry(TimeValue p0){} - public void updateState(Object p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/PoolStats.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/PoolStats.java deleted file mode 100644 index accad39aa19..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/pool/PoolStats.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.core5.pool.PoolStats for testing purposes - -package org.apache.hc.core5.pool; - -import java.io.Serializable; - -public class PoolStats implements Serializable -{ - protected PoolStats() {} - public PoolStats(int p0, int p1, int p2, int p3){} - public String toString(){ return null; } - public int getAvailable(){ return 0; } - public int getLeased(){ return 0; } - public int getMax(){ return 0; } - public int getPending(){ return 0; } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/Command.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/Command.java deleted file mode 100644 index 319138c605c..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/Command.java +++ /dev/null @@ -1,14 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.Command for testing purposes - -package org.apache.hc.core5.reactor; - -import org.apache.hc.core5.concurrent.Cancellable; - -public interface Command extends Cancellable -{ - static public enum Priority - { - IMMEDIATE, NORMAL; - private Priority() {} - } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ConnectionInitiator.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ConnectionInitiator.java deleted file mode 100644 index 2550c0263fc..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ConnectionInitiator.java +++ /dev/null @@ -1,15 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.ConnectionInitiator for testing purposes - -package org.apache.hc.core5.reactor; - -import java.net.SocketAddress; -import java.util.concurrent.Future; -import org.apache.hc.core5.concurrent.FutureCallback; -import org.apache.hc.core5.net.NamedEndpoint; -import org.apache.hc.core5.reactor.IOSession; -import org.apache.hc.core5.util.Timeout; - -public interface ConnectionInitiator -{ - Future connect(NamedEndpoint p0, SocketAddress p1, SocketAddress p2, Timeout p3, Object p4, FutureCallback p5); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOEventHandler.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOEventHandler.java deleted file mode 100644 index bda19c344ec..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOEventHandler.java +++ /dev/null @@ -1,17 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.IOEventHandler for testing purposes - -package org.apache.hc.core5.reactor; - -import java.nio.ByteBuffer; -import org.apache.hc.core5.reactor.IOSession; -import org.apache.hc.core5.util.Timeout; - -public interface IOEventHandler -{ - void connected(IOSession p0); - void disconnected(IOSession p0); - void exception(IOSession p0, Exception p1); - void inputReady(IOSession p0, ByteBuffer p1); - void outputReady(IOSession p0); - void timeout(IOSession p0, Timeout p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOEventHandlerFactory.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOEventHandlerFactory.java deleted file mode 100644 index bab8ff29ad4..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOEventHandlerFactory.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.IOEventHandlerFactory for testing purposes - -package org.apache.hc.core5.reactor; - -import org.apache.hc.core5.reactor.IOEventHandler; -import org.apache.hc.core5.reactor.ProtocolIOSession; - -public interface IOEventHandlerFactory -{ - IOEventHandler createHandler(ProtocolIOSession p0, Object p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOReactor.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOReactor.java deleted file mode 100644 index 94827b811ff..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOReactor.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.IOReactor for testing purposes - -package org.apache.hc.core5.reactor; - -import org.apache.hc.core5.io.CloseMode; -import org.apache.hc.core5.io.ModalCloseable; -import org.apache.hc.core5.reactor.IOReactorStatus; -import org.apache.hc.core5.util.TimeValue; - -public interface IOReactor extends ModalCloseable -{ - IOReactorStatus getStatus(); - void awaitShutdown(TimeValue p0); - void close(CloseMode p0); - void initiateShutdown(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOReactorConfig.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOReactorConfig.java deleted file mode 100644 index 7f4c7ee0bb2..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOReactorConfig.java +++ /dev/null @@ -1,54 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.IOReactorConfig for testing purposes - -package org.apache.hc.core5.reactor; - -import java.net.SocketAddress; -import java.util.concurrent.TimeUnit; -import org.apache.hc.core5.util.TimeValue; -import org.apache.hc.core5.util.Timeout; - -public class IOReactorConfig -{ - protected IOReactorConfig() {} - public SocketAddress getSocksProxyAddress(){ return null; } - public String getSocksProxyPassword(){ return null; } - public String getSocksProxyUsername(){ return null; } - public String toString(){ return null; } - public TimeValue getSelectInterval(){ return null; } - public TimeValue getSoLinger(){ return null; } - public Timeout getSoTimeout(){ return null; } - public boolean isSoKeepAlive(){ return false; } - public boolean isSoKeepalive(){ return false; } - public boolean isSoReuseAddress(){ return false; } - public boolean isTcpNoDelay(){ return false; } - public int getBacklogSize(){ return 0; } - public int getIoThreadCount(){ return 0; } - public int getRcvBufSize(){ return 0; } - public int getSndBufSize(){ return 0; } - public int getTrafficClass(){ return 0; } - public static IOReactorConfig DEFAULT = null; - public static IOReactorConfig.Builder copy(IOReactorConfig p0){ return null; } - public static IOReactorConfig.Builder custom(){ return null; } - static public class Builder - { - public IOReactorConfig build(){ return null; } - public IOReactorConfig.Builder setBacklogSize(int p0){ return null; } - public IOReactorConfig.Builder setIoThreadCount(int p0){ return null; } - public IOReactorConfig.Builder setRcvBufSize(int p0){ return null; } - public IOReactorConfig.Builder setSelectInterval(TimeValue p0){ return null; } - public IOReactorConfig.Builder setSndBufSize(int p0){ return null; } - public IOReactorConfig.Builder setSoKeepAlive(boolean p0){ return null; } - public IOReactorConfig.Builder setSoLinger(TimeValue p0){ return null; } - public IOReactorConfig.Builder setSoLinger(int p0, TimeUnit p1){ return null; } - public IOReactorConfig.Builder setSoReuseAddress(boolean p0){ return null; } - public IOReactorConfig.Builder setSoTimeout(Timeout p0){ return null; } - public IOReactorConfig.Builder setSoTimeout(int p0, TimeUnit p1){ return null; } - public IOReactorConfig.Builder setSocksProxyAddress(SocketAddress p0){ return null; } - public IOReactorConfig.Builder setSocksProxyPassword(String p0){ return null; } - public IOReactorConfig.Builder setSocksProxyUsername(String p0){ return null; } - public IOReactorConfig.Builder setTcpNoDelay(boolean p0){ return null; } - public IOReactorConfig.Builder setTrafficClass(int p0){ return null; } - public static int getDefaultMaxIOThreadCount(){ return 0; } - public static void setDefaultMaxIOThreadCount(int p0){} - } -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOReactorService.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOReactorService.java deleted file mode 100644 index f00025ccb5c..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOReactorService.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.IOReactorService for testing purposes - -package org.apache.hc.core5.reactor; - -import org.apache.hc.core5.reactor.IOReactor; - -public interface IOReactorService extends IOReactor -{ - void start(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOReactorStatus.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOReactorStatus.java deleted file mode 100644 index 0e792f589c0..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOReactorStatus.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.IOReactorStatus for testing purposes - -package org.apache.hc.core5.reactor; - - -public enum IOReactorStatus -{ - ACTIVE, INACTIVE, SHUTTING_DOWN, SHUT_DOWN; - private IOReactorStatus() {} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOSession.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOSession.java deleted file mode 100644 index fd9cb6db74b..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOSession.java +++ /dev/null @@ -1,43 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.IOSession for testing purposes - -package org.apache.hc.core5.reactor; - -import java.net.SocketAddress; -import java.nio.channels.ByteChannel; -import java.util.concurrent.locks.Lock; -import org.apache.hc.core5.http.SocketModalCloseable; -import org.apache.hc.core5.reactor.Command; -import org.apache.hc.core5.reactor.IOEventHandler; -import org.apache.hc.core5.util.Identifiable; -import org.apache.hc.core5.util.Timeout; - -public interface IOSession extends ByteChannel, Identifiable, SocketModalCloseable -{ - ByteChannel channel(); - Command poll(); - IOEventHandler getHandler(); - IOSession.Status getStatus(); - Lock getLock(); - SocketAddress getLocalAddress(); - SocketAddress getRemoteAddress(); - Timeout getSocketTimeout(); - boolean hasCommands(); - int getEventMask(); - long getLastEventTime(); - long getLastReadTime(); - long getLastWriteTime(); - static public enum Status - { - ACTIVE, CLOSED, CLOSING; - private Status() {} - } - void clearEvent(int p0); - void close(); - void enqueue(Command p0, Command.Priority p1); - void setEvent(int p0); - void setEventMask(int p0); - void setSocketTimeout(Timeout p0); - void updateReadTime(); - void updateWriteTime(); - void upgrade(IOEventHandler p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOSessionListener.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOSessionListener.java deleted file mode 100644 index 209ccd16ff8..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/IOSessionListener.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.IOSessionListener for testing purposes - -package org.apache.hc.core5.reactor; - -import org.apache.hc.core5.reactor.IOSession; - -public interface IOSessionListener -{ - void connected(IOSession p0); - void disconnected(IOSession p0); - void exception(IOSession p0, Exception p1); - void inputReady(IOSession p0); - void outputReady(IOSession p0); - void startTls(IOSession p0); - void timeout(IOSession p0); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ProtocolIOSession.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ProtocolIOSession.java deleted file mode 100644 index 846b3cbe558..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ProtocolIOSession.java +++ /dev/null @@ -1,16 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.ProtocolIOSession for testing purposes - -package org.apache.hc.core5.reactor; - -import org.apache.hc.core5.concurrent.FutureCallback; -import org.apache.hc.core5.net.NamedEndpoint; -import org.apache.hc.core5.reactor.IOSession; -import org.apache.hc.core5.reactor.ProtocolUpgradeHandler; -import org.apache.hc.core5.reactor.ssl.TransportSecurityLayer; - -public interface ProtocolIOSession extends IOSession, TransportSecurityLayer -{ - NamedEndpoint getInitialEndpoint(); - default void registerProtocol(String p0, ProtocolUpgradeHandler p1){} - default void switchProtocol(String p0, FutureCallback p1){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ProtocolUpgradeHandler.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ProtocolUpgradeHandler.java deleted file mode 100644 index a14a5286c22..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ProtocolUpgradeHandler.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.ProtocolUpgradeHandler for testing purposes - -package org.apache.hc.core5.reactor; - -import org.apache.hc.core5.concurrent.FutureCallback; -import org.apache.hc.core5.reactor.ProtocolIOSession; - -public interface ProtocolUpgradeHandler -{ - void upgrade(ProtocolIOSession p0, FutureCallback p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/SSLBufferMode.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/SSLBufferMode.java deleted file mode 100644 index 929529d3783..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/SSLBufferMode.java +++ /dev/null @@ -1,10 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.ssl.SSLBufferMode for testing purposes - -package org.apache.hc.core5.reactor.ssl; - - -public enum SSLBufferMode -{ - DYNAMIC, STATIC; - private SSLBufferMode() {} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/SSLSessionInitializer.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/SSLSessionInitializer.java deleted file mode 100644 index 7897aed099e..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/SSLSessionInitializer.java +++ /dev/null @@ -1,11 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.ssl.SSLSessionInitializer for testing purposes - -package org.apache.hc.core5.reactor.ssl; - -import javax.net.ssl.SSLEngine; -import org.apache.hc.core5.net.NamedEndpoint; - -public interface SSLSessionInitializer -{ - void initialize(NamedEndpoint p0, SSLEngine p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/SSLSessionVerifier.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/SSLSessionVerifier.java deleted file mode 100644 index 973943941c7..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/SSLSessionVerifier.java +++ /dev/null @@ -1,12 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.ssl.SSLSessionVerifier for testing purposes - -package org.apache.hc.core5.reactor.ssl; - -import javax.net.ssl.SSLEngine; -import org.apache.hc.core5.net.NamedEndpoint; -import org.apache.hc.core5.reactor.ssl.TlsDetails; - -public interface SSLSessionVerifier -{ - TlsDetails verify(NamedEndpoint p0, SSLEngine p1); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/TlsDetails.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/TlsDetails.java deleted file mode 100644 index a48a28ace3d..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/TlsDetails.java +++ /dev/null @@ -1,14 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.ssl.TlsDetails for testing purposes - -package org.apache.hc.core5.reactor.ssl; - -import javax.net.ssl.SSLSession; - -public class TlsDetails -{ - protected TlsDetails() {} - public SSLSession getSSLSession(){ return null; } - public String getApplicationProtocol(){ return null; } - public String toString(){ return null; } - public TlsDetails(SSLSession p0, String p1){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/TransportSecurityLayer.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/TransportSecurityLayer.java deleted file mode 100644 index b2fa9f5cd66..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/reactor/ssl/TransportSecurityLayer.java +++ /dev/null @@ -1,19 +0,0 @@ -// Generated automatically from org.apache.hc.core5.reactor.ssl.TransportSecurityLayer for testing purposes - -package org.apache.hc.core5.reactor.ssl; - -import javax.net.ssl.SSLContext; -import org.apache.hc.core5.concurrent.FutureCallback; -import org.apache.hc.core5.net.NamedEndpoint; -import org.apache.hc.core5.reactor.ssl.SSLBufferMode; -import org.apache.hc.core5.reactor.ssl.SSLSessionInitializer; -import org.apache.hc.core5.reactor.ssl.SSLSessionVerifier; -import org.apache.hc.core5.reactor.ssl.TlsDetails; -import org.apache.hc.core5.util.Timeout; - -public interface TransportSecurityLayer -{ - TlsDetails getTlsDetails(); - default void startTls(SSLContext p0, NamedEndpoint p1, SSLBufferMode p2, SSLSessionInitializer p3, SSLSessionVerifier p4, Timeout p5, FutureCallback p6){} - void startTls(SSLContext p0, NamedEndpoint p1, SSLBufferMode p2, SSLSessionInitializer p3, SSLSessionVerifier p4, Timeout p5); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/util/Deadline.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/util/Deadline.java deleted file mode 100644 index 23bc6948152..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/util/Deadline.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated automatically from org.apache.hc.core5.util.Deadline for testing purposes - -package org.apache.hc.core5.util; - -import java.util.concurrent.TimeUnit; -import org.apache.hc.core5.util.TimeValue; - -public class Deadline -{ - protected Deadline() {} - public Deadline freeze(){ return null; } - public Deadline min(Deadline p0){ return null; } - public String format(TimeUnit p0){ return null; } - public String formatTarget(){ return null; } - public String toString(){ return null; } - public TimeValue remainingTimeValue(){ return null; } - public boolean equals(Object p0){ return false; } - public boolean isBefore(long p0){ return false; } - public boolean isExpired(){ return false; } - public boolean isMax(){ return false; } - public boolean isMin(){ return false; } - public boolean isNotExpired(){ return false; } - public int hashCode(){ return 0; } - public long getValue(){ return 0; } - public long remaining(){ return 0; } - public static Deadline MAX_VALUE = null; - public static Deadline MIN_VALUE = null; - public static Deadline calculate(TimeValue p0){ return null; } - public static Deadline calculate(long p0, TimeValue p1){ return null; } - public static Deadline fromUnixMilliseconds(long p0){ return null; } - public static Deadline parse(String p0){ return null; } - public static String DATE_FORMAT = null; -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/util/Identifiable.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/util/Identifiable.java deleted file mode 100644 index f41574105a2..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/util/Identifiable.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated automatically from org.apache.hc.core5.util.Identifiable for testing purposes - -package org.apache.hc.core5.util; - - -public interface Identifiable -{ - String getId(); -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/util/TimeValue.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/util/TimeValue.java deleted file mode 100644 index d27510be63f..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/util/TimeValue.java +++ /dev/null @@ -1,57 +0,0 @@ -// Generated automatically from org.apache.hc.core5.util.TimeValue for testing purposes - -package org.apache.hc.core5.util; - -import java.time.Duration; -import java.util.concurrent.TimeUnit; -import org.apache.hc.core5.util.Timeout; - -public class TimeValue implements Comparable -{ - protected TimeValue() {} - public Duration toDuration(){ return null; } - public String toString(){ return null; } - public TimeUnit getTimeUnit(){ return null; } - public TimeValue divide(long p0){ return null; } - public TimeValue divide(long p0, TimeUnit p1){ return null; } - public TimeValue min(TimeValue p0){ return null; } - public Timeout toTimeout(){ return null; } - public boolean equals(Object p0){ return false; } - public int compareTo(TimeValue p0){ return 0; } - public int hashCode(){ return 0; } - public int toMillisecondsIntBound(){ return 0; } - public int toSecondsIntBound(){ return 0; } - public long convert(TimeUnit p0){ return 0; } - public long getDuration(){ return 0; } - public long toDays(){ return 0; } - public long toHours(){ return 0; } - public long toMicroseconds(){ return 0; } - public long toMilliseconds(){ return 0; } - public long toMinutes(){ return 0; } - public long toNanoseconds(){ return 0; } - public long toSeconds(){ return 0; } - public static T defaultsTo(T p0, T p1){ return null; } - public static TimeValue MAX_VALUE = null; - public static TimeValue NEG_ONE_MILLISECOND = null; - public static TimeValue NEG_ONE_SECOND = null; - public static TimeValue ZERO_MILLISECONDS = null; - public static TimeValue defaultsToNegativeOneMillisecond(TimeValue p0){ return null; } - public static TimeValue defaultsToNegativeOneSecond(TimeValue p0){ return null; } - public static TimeValue defaultsToZeroMilliseconds(TimeValue p0){ return null; } - public static TimeValue of(Duration p0){ return null; } - public static TimeValue of(long p0, TimeUnit p1){ return null; } - public static TimeValue ofDays(long p0){ return null; } - public static TimeValue ofHours(long p0){ return null; } - public static TimeValue ofMicroseconds(long p0){ return null; } - public static TimeValue ofMilliseconds(long p0){ return null; } - public static TimeValue ofMinutes(long p0){ return null; } - public static TimeValue ofNanoseconds(long p0){ return null; } - public static TimeValue ofSeconds(long p0){ return null; } - public static TimeValue parse(String p0){ return null; } - public static boolean isNonNegative(TimeValue p0){ return false; } - public static boolean isPositive(TimeValue p0){ return false; } - public static int asBoundInt(long p0){ return 0; } - public void sleep(){} - public void timedJoin(Thread p0){} - public void timedWait(Object p0){} -} diff --git a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/util/Timeout.java b/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/util/Timeout.java deleted file mode 100644 index 8de0d93c5e6..00000000000 --- a/java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/util/Timeout.java +++ /dev/null @@ -1,28 +0,0 @@ -// Generated automatically from org.apache.hc.core5.util.Timeout for testing purposes - -package org.apache.hc.core5.util; - -import java.time.Duration; -import java.util.concurrent.TimeUnit; -import org.apache.hc.core5.util.TimeValue; - -public class Timeout extends TimeValue -{ - protected Timeout() {} - public boolean isDisabled(){ return false; } - public boolean isEnabled(){ return false; } - public static Timeout DISABLED = null; - public static Timeout ONE_MILLISECOND = null; - public static Timeout ZERO_MILLISECONDS = null; - public static Timeout defaultsToDisabled(Timeout p0){ return null; } - public static Timeout of(Duration p0){ return null; } - public static Timeout of(long p0, TimeUnit p1){ return null; } - public static Timeout ofDays(long p0){ return null; } - public static Timeout ofHours(long p0){ return null; } - public static Timeout ofMicroseconds(long p0){ return null; } - public static Timeout ofMilliseconds(long p0){ return null; } - public static Timeout ofMinutes(long p0){ return null; } - public static Timeout ofNanoseconds(long p0){ return null; } - public static Timeout ofSeconds(long p0){ return null; } - public static Timeout parse(String p0){ return null; } -}