mirror of
https://github.com/github/codeql.git
synced 2025-12-22 03:36:30 +01:00
Java: add generated stubs back, but in a different directory from existing apache-http-5 stubs
This commit is contained in:
16
java/ql/test/stubs/apache-http-5-Generated/javax/net/ServerSocketFactory.java
generated
Normal file
16
java/ql/test/stubs/apache-http-5-Generated/javax/net/ServerSocketFactory.java
generated
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
17
java/ql/test/stubs/apache-http-5-Generated/javax/net/SocketFactory.java
generated
Normal file
17
java/ql/test/stubs/apache-http-5-Generated/javax/net/SocketFactory.java
generated
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
8
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/KeyManager.java
generated
Normal file
8
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/KeyManager.java
generated
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// Generated automatically from javax.net.ssl.KeyManager for testing purposes
|
||||||
|
|
||||||
|
package javax.net.ssl;
|
||||||
|
|
||||||
|
|
||||||
|
public interface KeyManager
|
||||||
|
{
|
||||||
|
}
|
||||||
13
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SNIMatcher.java
generated
Normal file
13
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SNIMatcher.java
generated
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
15
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SNIServerName.java
generated
Normal file
15
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SNIServerName.java
generated
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
36
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLContext.java
generated
Normal file
36
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLContext.java
generated
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
// 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){}
|
||||||
|
}
|
||||||
26
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLContextSpi.java
generated
Normal file
26
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLContextSpi.java
generated
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
// 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(){}
|
||||||
|
}
|
||||||
53
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLEngine.java
generated
Normal file
53
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLEngine.java
generated
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
// 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<SSLEngine, List<String>, 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<SSLEngine, List<String>, String> p0){}
|
||||||
|
public void setSSLParameters(SSLParameters p0){}
|
||||||
|
}
|
||||||
25
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLEngineResult.java
generated
Normal file
25
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLEngineResult.java
generated
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
// 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() {}
|
||||||
|
}
|
||||||
|
}
|
||||||
36
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLParameters.java
generated
Normal file
36
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLParameters.java
generated
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
// 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<SNIMatcher> getSNIMatchers(){ return null; }
|
||||||
|
public final List<SNIServerName> getServerNames(){ return null; }
|
||||||
|
public final boolean getUseCipherSuitesOrder(){ return false; }
|
||||||
|
public final void setSNIMatchers(Collection<SNIMatcher> p0){}
|
||||||
|
public final void setServerNames(List<SNIServerName> 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){}
|
||||||
|
}
|
||||||
13
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLServerSocketFactory.java
generated
Normal file
13
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLServerSocketFactory.java
generated
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
33
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSession.java
generated
Normal file
33
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSession.java
generated
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
// 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);
|
||||||
|
}
|
||||||
16
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSessionContext.java
generated
Normal file
16
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSessionContext.java
generated
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
// 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<byte[]> getIds();
|
||||||
|
SSLSession getSession(byte[] p0);
|
||||||
|
int getSessionCacheSize();
|
||||||
|
int getSessionTimeout();
|
||||||
|
void setSessionCacheSize(int p0);
|
||||||
|
void setSessionTimeout(int p0);
|
||||||
|
}
|
||||||
17
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSocketFactory.java
generated
Normal file
17
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/SSLSocketFactory.java
generated
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
8
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/TrustManager.java
generated
Normal file
8
java/ql/test/stubs/apache-http-5-Generated/javax/net/ssl/TrustManager.java
generated
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// Generated automatically from javax.net.ssl.TrustManager for testing purposes
|
||||||
|
|
||||||
|
package javax.net.ssl;
|
||||||
|
|
||||||
|
|
||||||
|
public interface TrustManager
|
||||||
|
{
|
||||||
|
}
|
||||||
17
java/ql/test/stubs/apache-http-5-Generated/javax/security/cert/Certificate.java
generated
Normal file
17
java/ql/test/stubs/apache-http-5-Generated/javax/security/cert/Certificate.java
generated
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
27
java/ql/test/stubs/apache-http-5-Generated/javax/security/cert/X509Certificate.java
generated
Normal file
27
java/ql/test/stubs/apache-http-5-Generated/javax/security/cert/X509Certificate.java
generated
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
31
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncContext.java
generated
Normal file
31
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncContext.java
generated
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
// Generated automatically from javax.servlet.AsyncContext for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import javax.servlet.AsyncListener;
|
||||||
|
import javax.servlet.ServletContext;
|
||||||
|
import javax.servlet.ServletRequest;
|
||||||
|
import javax.servlet.ServletResponse;
|
||||||
|
|
||||||
|
public interface AsyncContext
|
||||||
|
{
|
||||||
|
<T extends AsyncListener> T createListener(java.lang.Class<T> p0);
|
||||||
|
ServletRequest getRequest();
|
||||||
|
ServletResponse getResponse();
|
||||||
|
boolean hasOriginalRequestAndResponse();
|
||||||
|
long getTimeout();
|
||||||
|
static String ASYNC_CONTEXT_PATH = null;
|
||||||
|
static String ASYNC_MAPPING = null;
|
||||||
|
static String ASYNC_PATH_INFO = null;
|
||||||
|
static String ASYNC_QUERY_STRING = null;
|
||||||
|
static String ASYNC_REQUEST_URI = null;
|
||||||
|
static String ASYNC_SERVLET_PATH = null;
|
||||||
|
void addListener(AsyncListener p0);
|
||||||
|
void addListener(AsyncListener p0, ServletRequest p1, ServletResponse p2);
|
||||||
|
void complete();
|
||||||
|
void dispatch();
|
||||||
|
void dispatch(ServletContext p0, String p1);
|
||||||
|
void dispatch(String p0);
|
||||||
|
void setTimeout(long p0);
|
||||||
|
void start(Runnable p0);
|
||||||
|
}
|
||||||
20
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncEvent.java
generated
Normal file
20
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncEvent.java
generated
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
// Generated automatically from javax.servlet.AsyncEvent for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import javax.servlet.AsyncContext;
|
||||||
|
import javax.servlet.ServletRequest;
|
||||||
|
import javax.servlet.ServletResponse;
|
||||||
|
|
||||||
|
public class AsyncEvent
|
||||||
|
{
|
||||||
|
protected AsyncEvent() {}
|
||||||
|
public AsyncContext getAsyncContext(){ return null; }
|
||||||
|
public AsyncEvent(AsyncContext p0){}
|
||||||
|
public AsyncEvent(AsyncContext p0, ServletRequest p1, ServletResponse p2){}
|
||||||
|
public AsyncEvent(AsyncContext p0, ServletRequest p1, ServletResponse p2, Throwable p3){}
|
||||||
|
public AsyncEvent(AsyncContext p0, Throwable p1){}
|
||||||
|
public ServletRequest getSuppliedRequest(){ return null; }
|
||||||
|
public ServletResponse getSuppliedResponse(){ return null; }
|
||||||
|
public Throwable getThrowable(){ return null; }
|
||||||
|
}
|
||||||
14
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncListener.java
generated
Normal file
14
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/AsyncListener.java
generated
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// Generated automatically from javax.servlet.AsyncListener for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import java.util.EventListener;
|
||||||
|
import javax.servlet.AsyncEvent;
|
||||||
|
|
||||||
|
public interface AsyncListener extends EventListener
|
||||||
|
{
|
||||||
|
void onComplete(AsyncEvent p0);
|
||||||
|
void onError(AsyncEvent p0);
|
||||||
|
void onStartAsync(AsyncEvent p0);
|
||||||
|
void onTimeout(AsyncEvent p0);
|
||||||
|
}
|
||||||
10
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/DispatcherType.java
generated
Normal file
10
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/DispatcherType.java
generated
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
// Generated automatically from javax.servlet.DispatcherType for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
|
||||||
|
public enum DispatcherType
|
||||||
|
{
|
||||||
|
ASYNC, ERROR, FORWARD, INCLUDE, REQUEST;
|
||||||
|
private DispatcherType() {}
|
||||||
|
}
|
||||||
15
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Filter.java
generated
Normal file
15
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Filter.java
generated
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// Generated automatically from javax.servlet.Filter for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import javax.servlet.FilterChain;
|
||||||
|
import javax.servlet.FilterConfig;
|
||||||
|
import javax.servlet.ServletRequest;
|
||||||
|
import javax.servlet.ServletResponse;
|
||||||
|
|
||||||
|
public interface Filter
|
||||||
|
{
|
||||||
|
default void destroy(){}
|
||||||
|
default void init(FilterConfig p0){}
|
||||||
|
void doFilter(ServletRequest p0, ServletResponse p1, FilterChain p2);
|
||||||
|
}
|
||||||
11
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterChain.java
generated
Normal file
11
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterChain.java
generated
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
// Generated automatically from javax.servlet.FilterChain for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import javax.servlet.ServletRequest;
|
||||||
|
import javax.servlet.ServletResponse;
|
||||||
|
|
||||||
|
public interface FilterChain
|
||||||
|
{
|
||||||
|
void doFilter(ServletRequest p0, ServletResponse p1);
|
||||||
|
}
|
||||||
14
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterConfig.java
generated
Normal file
14
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterConfig.java
generated
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// Generated automatically from javax.servlet.FilterConfig for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import java.util.Enumeration;
|
||||||
|
import javax.servlet.ServletContext;
|
||||||
|
|
||||||
|
public interface FilterConfig
|
||||||
|
{
|
||||||
|
Enumeration<String> getInitParameterNames();
|
||||||
|
ServletContext getServletContext();
|
||||||
|
String getFilterName();
|
||||||
|
String getInitParameter(String p0);
|
||||||
|
}
|
||||||
19
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterRegistration.java
generated
Normal file
19
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/FilterRegistration.java
generated
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
// Generated automatically from javax.servlet.FilterRegistration for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import java.util.Collection;
|
||||||
|
import java.util.EnumSet;
|
||||||
|
import javax.servlet.DispatcherType;
|
||||||
|
import javax.servlet.Registration;
|
||||||
|
|
||||||
|
public interface FilterRegistration extends Registration
|
||||||
|
{
|
||||||
|
Collection<String> getServletNameMappings();
|
||||||
|
Collection<String> getUrlPatternMappings();
|
||||||
|
static public interface Dynamic extends FilterRegistration, Registration.Dynamic
|
||||||
|
{
|
||||||
|
}
|
||||||
|
void addMappingForServletNames(EnumSet<DispatcherType> p0, boolean p1, String... p2);
|
||||||
|
void addMappingForUrlPatterns(EnumSet<DispatcherType> p0, boolean p1, String... p2);
|
||||||
|
}
|
||||||
28
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/GenericServlet.java
generated
Normal file
28
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/GenericServlet.java
generated
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
// 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<String> 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){}
|
||||||
|
}
|
||||||
16
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/HttpConstraintElement.java
generated
Normal file
16
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/HttpConstraintElement.java
generated
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
// Generated automatically from javax.servlet.HttpConstraintElement for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import javax.servlet.annotation.ServletSecurity;
|
||||||
|
|
||||||
|
public class HttpConstraintElement
|
||||||
|
{
|
||||||
|
public HttpConstraintElement(){}
|
||||||
|
public HttpConstraintElement(ServletSecurity.EmptyRoleSemantic p0){}
|
||||||
|
public HttpConstraintElement(ServletSecurity.EmptyRoleSemantic p0, ServletSecurity.TransportGuarantee p1, String... p2){}
|
||||||
|
public HttpConstraintElement(ServletSecurity.TransportGuarantee p0, String... p1){}
|
||||||
|
public ServletSecurity.EmptyRoleSemantic getEmptyRoleSemantic(){ return null; }
|
||||||
|
public ServletSecurity.TransportGuarantee getTransportGuarantee(){ return null; }
|
||||||
|
public String[] getRolesAllowed(){ return null; }
|
||||||
|
}
|
||||||
13
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/HttpMethodConstraintElement.java
generated
Normal file
13
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/HttpMethodConstraintElement.java
generated
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
// Generated automatically from javax.servlet.HttpMethodConstraintElement for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import javax.servlet.HttpConstraintElement;
|
||||||
|
|
||||||
|
public class HttpMethodConstraintElement extends HttpConstraintElement
|
||||||
|
{
|
||||||
|
protected HttpMethodConstraintElement() {}
|
||||||
|
public HttpMethodConstraintElement(String p0){}
|
||||||
|
public HttpMethodConstraintElement(String p0, HttpConstraintElement p1){}
|
||||||
|
public String getMethodName(){ return null; }
|
||||||
|
}
|
||||||
17
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/MultipartConfigElement.java
generated
Normal file
17
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/MultipartConfigElement.java
generated
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
// Generated automatically from javax.servlet.MultipartConfigElement for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import javax.servlet.annotation.MultipartConfig;
|
||||||
|
|
||||||
|
public class MultipartConfigElement
|
||||||
|
{
|
||||||
|
protected MultipartConfigElement() {}
|
||||||
|
public MultipartConfigElement(MultipartConfig p0){}
|
||||||
|
public MultipartConfigElement(String p0){}
|
||||||
|
public MultipartConfigElement(String p0, long p1, long p2, int p3){}
|
||||||
|
public String getLocation(){ return null; }
|
||||||
|
public int getFileSizeThreshold(){ return 0; }
|
||||||
|
public long getMaxFileSize(){ return 0; }
|
||||||
|
public long getMaxRequestSize(){ return 0; }
|
||||||
|
}
|
||||||
12
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ReadListener.java
generated
Normal file
12
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ReadListener.java
generated
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
// Generated automatically from javax.servlet.ReadListener for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import java.util.EventListener;
|
||||||
|
|
||||||
|
public interface ReadListener extends EventListener
|
||||||
|
{
|
||||||
|
void onAllDataRead();
|
||||||
|
void onDataAvailable();
|
||||||
|
void onError(Throwable p0);
|
||||||
|
}
|
||||||
20
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Registration.java
generated
Normal file
20
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Registration.java
generated
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
// Generated automatically from javax.servlet.Registration for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
|
public interface Registration
|
||||||
|
{
|
||||||
|
Map<String, String> getInitParameters();
|
||||||
|
Set<String> setInitParameters(Map<String, String> p0);
|
||||||
|
String getClassName();
|
||||||
|
String getInitParameter(String p0);
|
||||||
|
String getName();
|
||||||
|
boolean setInitParameter(String p0, String p1);
|
||||||
|
static public interface Dynamic extends Registration
|
||||||
|
{
|
||||||
|
void setAsyncSupported(boolean p0);
|
||||||
|
}
|
||||||
|
}
|
||||||
30
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/RequestDispatcher.java
generated
Normal file
30
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/RequestDispatcher.java
generated
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
// 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);
|
||||||
|
}
|
||||||
16
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Servlet.java
generated
Normal file
16
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/Servlet.java
generated
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
// 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);
|
||||||
|
}
|
||||||
14
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletConfig.java
generated
Normal file
14
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletConfig.java
generated
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// Generated automatically from javax.servlet.ServletConfig for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import java.util.Enumeration;
|
||||||
|
import javax.servlet.ServletContext;
|
||||||
|
|
||||||
|
public interface ServletConfig
|
||||||
|
{
|
||||||
|
Enumeration<String> getInitParameterNames();
|
||||||
|
ServletContext getServletContext();
|
||||||
|
String getInitParameter(String p0);
|
||||||
|
String getServletName();
|
||||||
|
}
|
||||||
83
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletContext.java
generated
Normal file
83
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletContext.java
generated
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
// 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 extends EventListener> T createListener(java.lang.Class<T> p0);
|
||||||
|
<T extends EventListener> void addListener(T p0);
|
||||||
|
<T extends Filter> T createFilter(java.lang.Class<T> p0);
|
||||||
|
<T extends Servlet> T createServlet(java.lang.Class<T> p0);
|
||||||
|
ClassLoader getClassLoader();
|
||||||
|
Enumeration<Servlet> getServlets();
|
||||||
|
Enumeration<String> getAttributeNames();
|
||||||
|
Enumeration<String> getInitParameterNames();
|
||||||
|
Enumeration<String> getServletNames();
|
||||||
|
FilterRegistration getFilterRegistration(String p0);
|
||||||
|
FilterRegistration.Dynamic addFilter(String p0, Class<? extends Filter> p1);
|
||||||
|
FilterRegistration.Dynamic addFilter(String p0, Filter p1);
|
||||||
|
FilterRegistration.Dynamic addFilter(String p0, String p1);
|
||||||
|
InputStream getResourceAsStream(String p0);
|
||||||
|
JspConfigDescriptor getJspConfigDescriptor();
|
||||||
|
Map<String, ? extends FilterRegistration> getFilterRegistrations();
|
||||||
|
Map<String, ? extends ServletRegistration> 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<? extends Servlet> p1);
|
||||||
|
ServletRegistration.Dynamic addServlet(String p0, Servlet p1);
|
||||||
|
ServletRegistration.Dynamic addServlet(String p0, String p1);
|
||||||
|
SessionCookieConfig getSessionCookieConfig();
|
||||||
|
Set<SessionTrackingMode> getDefaultSessionTrackingModes();
|
||||||
|
Set<SessionTrackingMode> getEffectiveSessionTrackingModes();
|
||||||
|
Set<String> 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<? extends EventListener> 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<SessionTrackingMode> p0);
|
||||||
|
}
|
||||||
15
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletInputStream.java
generated
Normal file
15
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletInputStream.java
generated
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
28
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletOutputStream.java
generated
Normal file
28
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletOutputStream.java
generated
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
// 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){}
|
||||||
|
}
|
||||||
23
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletRegistration.java
generated
Normal file
23
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletRegistration.java
generated
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
// Generated automatically from javax.servlet.ServletRegistration for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
import java.util.Collection;
|
||||||
|
import java.util.Set;
|
||||||
|
import javax.servlet.MultipartConfigElement;
|
||||||
|
import javax.servlet.Registration;
|
||||||
|
import javax.servlet.ServletSecurityElement;
|
||||||
|
|
||||||
|
public interface ServletRegistration extends Registration
|
||||||
|
{
|
||||||
|
Collection<String> getMappings();
|
||||||
|
Set<String> addMapping(String... p0);
|
||||||
|
String getRunAsRole();
|
||||||
|
static public interface Dynamic extends Registration.Dynamic, ServletRegistration
|
||||||
|
{
|
||||||
|
Set<String> setServletSecurity(ServletSecurityElement p0);
|
||||||
|
void setLoadOnStartup(int p0);
|
||||||
|
void setMultipartConfig(MultipartConfigElement p0);
|
||||||
|
void setRunAsRole(String p0);
|
||||||
|
}
|
||||||
|
}
|
||||||
55
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletRequest.java
generated
Normal file
55
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletRequest.java
generated
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
// 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<Locale> getLocales();
|
||||||
|
Enumeration<String> getAttributeNames();
|
||||||
|
Enumeration<String> getParameterNames();
|
||||||
|
Locale getLocale();
|
||||||
|
Map<String, String[]> 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);
|
||||||
|
}
|
||||||
27
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletResponse.java
generated
Normal file
27
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletResponse.java
generated
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
// 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);
|
||||||
|
}
|
||||||
19
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletSecurityElement.java
generated
Normal file
19
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/ServletSecurityElement.java
generated
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
// 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<HttpMethodConstraintElement> getHttpMethodConstraints(){ return null; }
|
||||||
|
public Collection<String> getMethodNames(){ return null; }
|
||||||
|
public ServletSecurityElement(){}
|
||||||
|
public ServletSecurityElement(Collection<HttpMethodConstraintElement> p0){}
|
||||||
|
public ServletSecurityElement(HttpConstraintElement p0){}
|
||||||
|
public ServletSecurityElement(HttpConstraintElement p0, Collection<HttpMethodConstraintElement> p1){}
|
||||||
|
public ServletSecurityElement(ServletSecurity p0){}
|
||||||
|
}
|
||||||
22
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/SessionCookieConfig.java
generated
Normal file
22
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/SessionCookieConfig.java
generated
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
// 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);
|
||||||
|
}
|
||||||
10
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/SessionTrackingMode.java
generated
Normal file
10
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/SessionTrackingMode.java
generated
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
// Generated automatically from javax.servlet.SessionTrackingMode for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet;
|
||||||
|
|
||||||
|
|
||||||
|
public enum SessionTrackingMode
|
||||||
|
{
|
||||||
|
COOKIE, SSL, URL;
|
||||||
|
private SessionTrackingMode() {}
|
||||||
|
}
|
||||||
11
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/WriteListener.java
generated
Normal file
11
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/WriteListener.java
generated
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
// 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();
|
||||||
|
}
|
||||||
18
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/HttpConstraint.java
generated
Normal file
18
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/HttpConstraint.java
generated
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
// 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();
|
||||||
|
}
|
||||||
19
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/HttpMethodConstraint.java
generated
Normal file
19
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/HttpMethodConstraint.java
generated
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
// 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();
|
||||||
|
}
|
||||||
19
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/MultipartConfig.java
generated
Normal file
19
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/MultipartConfig.java
generated
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
// 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();
|
||||||
|
}
|
||||||
33
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/ServletSecurity.java
generated
Normal file
33
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/annotation/ServletSecurity.java
generated
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
// 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() {}
|
||||||
|
}
|
||||||
|
}
|
||||||
13
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/JspConfigDescriptor.java
generated
Normal file
13
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/JspConfigDescriptor.java
generated
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
// 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<JspPropertyGroupDescriptor> getJspPropertyGroups();
|
||||||
|
Collection<TaglibDescriptor> getTaglibs();
|
||||||
|
}
|
||||||
21
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/JspPropertyGroupDescriptor.java
generated
Normal file
21
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/JspPropertyGroupDescriptor.java
generated
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
// Generated automatically from javax.servlet.descriptor.JspPropertyGroupDescriptor for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet.descriptor;
|
||||||
|
|
||||||
|
import java.util.Collection;
|
||||||
|
|
||||||
|
public interface JspPropertyGroupDescriptor
|
||||||
|
{
|
||||||
|
Collection<String> getIncludeCodas();
|
||||||
|
Collection<String> getIncludePreludes();
|
||||||
|
Collection<String> getUrlPatterns();
|
||||||
|
String getBuffer();
|
||||||
|
String getDefaultContentType();
|
||||||
|
String getDeferredSyntaxAllowedAsLiteral();
|
||||||
|
String getElIgnored();
|
||||||
|
String getErrorOnUndeclaredNamespace();
|
||||||
|
String getIsXml();
|
||||||
|
String getPageEncoding();
|
||||||
|
String getScriptingInvalid();
|
||||||
|
String getTrimDirectiveWhitespaces();
|
||||||
|
}
|
||||||
10
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/TaglibDescriptor.java
generated
Normal file
10
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/descriptor/TaglibDescriptor.java
generated
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
// Generated automatically from javax.servlet.descriptor.TaglibDescriptor for testing purposes
|
||||||
|
|
||||||
|
package javax.servlet.descriptor;
|
||||||
|
|
||||||
|
|
||||||
|
public interface TaglibDescriptor
|
||||||
|
{
|
||||||
|
String getTaglibLocation();
|
||||||
|
String getTaglibURI();
|
||||||
|
}
|
||||||
29
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/Cookie.java
generated
Normal file
29
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/Cookie.java
generated
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
// 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){}
|
||||||
|
}
|
||||||
24
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServlet.java
generated
Normal file
24
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServlet.java
generated
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
// 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){}
|
||||||
|
}
|
||||||
13
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletMapping.java
generated
Normal file
13
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletMapping.java
generated
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
// 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();
|
||||||
|
}
|
||||||
60
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletRequest.java
generated
Normal file
60
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletRequest.java
generated
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
// 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 extends HttpUpgradeHandler> T upgrade(java.lang.Class<T> p0);
|
||||||
|
Collection<Part> getParts();
|
||||||
|
Cookie[] getCookies();
|
||||||
|
Enumeration<String> getHeaderNames();
|
||||||
|
Enumeration<String> 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<String, String> 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();
|
||||||
|
}
|
||||||
77
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletResponse.java
generated
Normal file
77
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpServletResponse.java
generated
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
// 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<String> getHeaderNames();
|
||||||
|
Collection<String> 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<Map<String, String>> getTrailerFields(){ return null; }
|
||||||
|
default void setTrailerFields(Supplier<Map<String, String>> 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);
|
||||||
|
}
|
||||||
28
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpSession.java
generated
Normal file
28
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpSession.java
generated
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
// 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<String> 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);
|
||||||
|
}
|
||||||
12
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpSessionContext.java
generated
Normal file
12
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpSessionContext.java
generated
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
// 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<String> getIds();
|
||||||
|
HttpSession getSession(String p0);
|
||||||
|
}
|
||||||
11
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpUpgradeHandler.java
generated
Normal file
11
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/HttpUpgradeHandler.java
generated
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
// 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);
|
||||||
|
}
|
||||||
10
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/MappingMatch.java
generated
Normal file
10
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/MappingMatch.java
generated
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
// 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() {}
|
||||||
|
}
|
||||||
20
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/Part.java
generated
Normal file
20
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/Part.java
generated
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
// 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<String> getHeaderNames();
|
||||||
|
Collection<String> getHeaders(String p0);
|
||||||
|
InputStream getInputStream();
|
||||||
|
String getContentType();
|
||||||
|
String getHeader(String p0);
|
||||||
|
String getName();
|
||||||
|
String getSubmittedFileName();
|
||||||
|
long getSize();
|
||||||
|
void delete();
|
||||||
|
void write(String p0);
|
||||||
|
}
|
||||||
23
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/PushBuilder.java
generated
Normal file
23
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/PushBuilder.java
generated
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
// 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<String> getHeaderNames();
|
||||||
|
String getHeader(String p0);
|
||||||
|
String getMethod();
|
||||||
|
String getPath();
|
||||||
|
String getQueryString();
|
||||||
|
String getSessionId();
|
||||||
|
void push();
|
||||||
|
}
|
||||||
12
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/WebConnection.java
generated
Normal file
12
java/ql/test/stubs/apache-http-5-Generated/javax/servlet/http/WebConnection.java
generated
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
// 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();
|
||||||
|
}
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
// 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){}
|
||||||
|
}
|
||||||
16
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleBody.java
generated
Normal file
16
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/async/methods/SimpleBody.java
generated
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
// 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){}
|
||||||
|
}
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,80 @@
|
|||||||
|
// 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<SimpleHttpRequest>
|
||||||
|
{
|
||||||
|
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; }
|
||||||
|
}
|
||||||
22
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/HttpClient.java
generated
Normal file
22
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/HttpClient.java
generated
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
// 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> T execute(ClassicHttpRequest p0, HttpContext p1, org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> p2);
|
||||||
|
<T> T execute(ClassicHttpRequest p0, org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> p1);
|
||||||
|
<T> T execute(HttpHost p0, ClassicHttpRequest p1, HttpContext p2, org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> p3);
|
||||||
|
<T> T execute(HttpHost p0, ClassicHttpRequest p1, org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> 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);
|
||||||
|
}
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
// 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;
|
||||||
|
}
|
||||||
14
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpGet.java
generated
Normal file
14
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpGet.java
generated
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// 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;
|
||||||
|
}
|
||||||
14
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpHead.java
generated
Normal file
14
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpHead.java
generated
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// 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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
// 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<String> getAllowedMethods(HttpResponse p0){ return null; }
|
||||||
|
public String getMethod(){ return null; }
|
||||||
|
public static String METHOD_NAME = null;
|
||||||
|
}
|
||||||
14
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPatch.java
generated
Normal file
14
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPatch.java
generated
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// 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;
|
||||||
|
}
|
||||||
14
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPost.java
generated
Normal file
14
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPost.java
generated
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// 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;
|
||||||
|
}
|
||||||
14
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPut.java
generated
Normal file
14
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpPut.java
generated
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// 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;
|
||||||
|
}
|
||||||
16
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpTrace.java
generated
Normal file
16
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/classic/methods/HttpTrace.java
generated
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
// 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){}
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
// 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();
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
// 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){}
|
||||||
|
}
|
||||||
10
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/config/Configurable.java
generated
Normal file
10
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/config/Configurable.java
generated
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
// 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();
|
||||||
|
}
|
||||||
57
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/config/RequestConfig.java
generated
Normal file
57
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/config/RequestConfig.java
generated
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
// 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<String> getProxyPreferredAuthSchemes(){ return null; }
|
||||||
|
public Collection<String> 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<String> 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<String> p0){ return null; }
|
||||||
|
}
|
||||||
|
}
|
||||||
20
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Content.java
generated
Normal file
20
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Content.java
generated
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
// 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;
|
||||||
|
}
|
||||||
81
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Request.java
generated
Normal file
81
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Request.java
generated
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
// 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<? extends NameValuePair> p0){ return null; }
|
||||||
|
public Request bodyForm(Iterable<? extends NameValuePair> 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;
|
||||||
|
}
|
||||||
18
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Response.java
generated
Normal file
18
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/client5/http/fluent/Response.java
generated
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
// 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> T handleResponse(HttpClientResponseHandler<T> p0){ return null; }
|
||||||
|
public Content returnContent(){ return null; }
|
||||||
|
public HttpResponse returnResponse(){ return null; }
|
||||||
|
public void discardContent(){}
|
||||||
|
public void saveContent(File p0){}
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
// 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> T execute(ClassicHttpRequest p0, HttpContext p1, org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> p2){ return null; }
|
||||||
|
public <T> T execute(ClassicHttpRequest p0, org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> p1){ return null; }
|
||||||
|
public <T> T execute(HttpHost p0, ClassicHttpRequest p1, HttpContext p2, org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> p3){ return null; }
|
||||||
|
public <T> T execute(HttpHost p0, ClassicHttpRequest p1, org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> 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; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
// 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<Header> headerIterator(){ return null; }
|
||||||
|
public Iterator<Header> 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){}
|
||||||
|
}
|
||||||
9
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/Cancellable.java
generated
Normal file
9
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/Cancellable.java
generated
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
// Generated automatically from org.apache.hc.core5.concurrent.Cancellable for testing purposes
|
||||||
|
|
||||||
|
package org.apache.hc.core5.concurrent;
|
||||||
|
|
||||||
|
|
||||||
|
public interface Cancellable
|
||||||
|
{
|
||||||
|
boolean cancel();
|
||||||
|
}
|
||||||
11
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/CancellableDependency.java
generated
Normal file
11
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/CancellableDependency.java
generated
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
// 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);
|
||||||
|
}
|
||||||
11
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/FutureCallback.java
generated
Normal file
11
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/concurrent/FutureCallback.java
generated
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
// Generated automatically from org.apache.hc.core5.concurrent.FutureCallback for testing purposes
|
||||||
|
|
||||||
|
package org.apache.hc.core5.concurrent;
|
||||||
|
|
||||||
|
|
||||||
|
public interface FutureCallback<T>
|
||||||
|
{
|
||||||
|
void cancelled();
|
||||||
|
void completed(T p0);
|
||||||
|
void failed(Exception p0);
|
||||||
|
}
|
||||||
9
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Callback.java
generated
Normal file
9
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Callback.java
generated
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
// Generated automatically from org.apache.hc.core5.function.Callback for testing purposes
|
||||||
|
|
||||||
|
package org.apache.hc.core5.function;
|
||||||
|
|
||||||
|
|
||||||
|
public interface Callback<T>
|
||||||
|
{
|
||||||
|
void execute(T p0);
|
||||||
|
}
|
||||||
9
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Decorator.java
generated
Normal file
9
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Decorator.java
generated
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
// Generated automatically from org.apache.hc.core5.function.Decorator for testing purposes
|
||||||
|
|
||||||
|
package org.apache.hc.core5.function;
|
||||||
|
|
||||||
|
|
||||||
|
public interface Decorator<T>
|
||||||
|
{
|
||||||
|
T decorate(T p0);
|
||||||
|
}
|
||||||
9
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Resolver.java
generated
Normal file
9
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Resolver.java
generated
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
// Generated automatically from org.apache.hc.core5.function.Resolver for testing purposes
|
||||||
|
|
||||||
|
package org.apache.hc.core5.function;
|
||||||
|
|
||||||
|
|
||||||
|
public interface Resolver<I, O>
|
||||||
|
{
|
||||||
|
O resolve(I p0);
|
||||||
|
}
|
||||||
9
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Supplier.java
generated
Normal file
9
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/function/Supplier.java
generated
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
// Generated automatically from org.apache.hc.core5.function.Supplier for testing purposes
|
||||||
|
|
||||||
|
package org.apache.hc.core5.function;
|
||||||
|
|
||||||
|
|
||||||
|
public interface Supplier<T>
|
||||||
|
{
|
||||||
|
T get();
|
||||||
|
}
|
||||||
10
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ClassicHttpRequest.java
generated
Normal file
10
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ClassicHttpRequest.java
generated
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
// 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
|
||||||
|
{
|
||||||
|
}
|
||||||
11
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ClassicHttpResponse.java
generated
Normal file
11
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ClassicHttpResponse.java
generated
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
// 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
|
||||||
|
{
|
||||||
|
}
|
||||||
60
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ContentType.java
generated
Normal file
60
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/ContentType.java
generated
Normal file
@@ -0,0 +1,60 @@
|
|||||||
|
// 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; }
|
||||||
|
}
|
||||||
14
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/EntityDetails.java
generated
Normal file
14
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/EntityDetails.java
generated
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
// 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<String> getTrailerNames();
|
||||||
|
String getContentEncoding();
|
||||||
|
String getContentType();
|
||||||
|
boolean isChunked();
|
||||||
|
long getContentLength();
|
||||||
|
}
|
||||||
10
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/Header.java
generated
Normal file
10
java/ql/test/stubs/apache-http-5-Generated/org/apache/hc/core5/http/Header.java
generated
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
// 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();
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user