mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
Java: temp removal of stubs
This commit is contained in:
@@ -1,42 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.async.methods.BasicHttpRequests for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.async.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.Method;
|
|
||||||
import org.apache.hc.core5.http.message.BasicHttpRequest;
|
|
||||||
|
|
||||||
public class BasicHttpRequests
|
|
||||||
{
|
|
||||||
public BasicHttpRequests(){}
|
|
||||||
public static BasicHttpRequest create(Method p0, HttpHost p1, String p2){ return null; }
|
|
||||||
public static BasicHttpRequest create(Method p0, String p1){ return null; }
|
|
||||||
public static BasicHttpRequest create(Method p0, URI p1){ return null; }
|
|
||||||
public static BasicHttpRequest create(String p0, String p1){ return null; }
|
|
||||||
public static BasicHttpRequest create(String p0, URI p1){ return null; }
|
|
||||||
public static BasicHttpRequest delete(HttpHost p0, String p1){ return null; }
|
|
||||||
public static BasicHttpRequest delete(String p0){ return null; }
|
|
||||||
public static BasicHttpRequest delete(URI p0){ return null; }
|
|
||||||
public static BasicHttpRequest get(HttpHost p0, String p1){ return null; }
|
|
||||||
public static BasicHttpRequest get(String p0){ return null; }
|
|
||||||
public static BasicHttpRequest get(URI p0){ return null; }
|
|
||||||
public static BasicHttpRequest head(HttpHost p0, String p1){ return null; }
|
|
||||||
public static BasicHttpRequest head(String p0){ return null; }
|
|
||||||
public static BasicHttpRequest head(URI p0){ return null; }
|
|
||||||
public static BasicHttpRequest options(HttpHost p0, String p1){ return null; }
|
|
||||||
public static BasicHttpRequest options(String p0){ return null; }
|
|
||||||
public static BasicHttpRequest options(URI p0){ return null; }
|
|
||||||
public static BasicHttpRequest patch(HttpHost p0, String p1){ return null; }
|
|
||||||
public static BasicHttpRequest patch(String p0){ return null; }
|
|
||||||
public static BasicHttpRequest patch(URI p0){ return null; }
|
|
||||||
public static BasicHttpRequest post(HttpHost p0, String p1){ return null; }
|
|
||||||
public static BasicHttpRequest post(String p0){ return null; }
|
|
||||||
public static BasicHttpRequest post(URI p0){ return null; }
|
|
||||||
public static BasicHttpRequest put(HttpHost p0, String p1){ return null; }
|
|
||||||
public static BasicHttpRequest put(String p0){ return null; }
|
|
||||||
public static BasicHttpRequest put(URI p0){ return null; }
|
|
||||||
public static BasicHttpRequest trace(HttpHost p0, String p1){ return null; }
|
|
||||||
public static BasicHttpRequest trace(String p0){ return null; }
|
|
||||||
public static BasicHttpRequest trace(URI p0){ return null; }
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.async.methods.ConfigurableHttpRequest for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.async.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.client5.http.config.Configurable;
|
|
||||||
import org.apache.hc.client5.http.config.RequestConfig;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.message.BasicHttpRequest;
|
|
||||||
import org.apache.hc.core5.net.URIAuthority;
|
|
||||||
|
|
||||||
public class ConfigurableHttpRequest extends BasicHttpRequest implements Configurable
|
|
||||||
{
|
|
||||||
protected ConfigurableHttpRequest() {}
|
|
||||||
public ConfigurableHttpRequest(String p0, HttpHost p1, String p2){}
|
|
||||||
public ConfigurableHttpRequest(String p0, String p1){}
|
|
||||||
public ConfigurableHttpRequest(String p0, String p1, URIAuthority p2, String p3){}
|
|
||||||
public ConfigurableHttpRequest(String p0, URI p1){}
|
|
||||||
public RequestConfig getConfig(){ return null; }
|
|
||||||
public void setConfig(RequestConfig p0){}
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.async.methods.SimpleBody for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.async.methods;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.ContentType;
|
|
||||||
|
|
||||||
public class SimpleBody
|
|
||||||
{
|
|
||||||
protected SimpleBody() {}
|
|
||||||
public ContentType getContentType(){ return null; }
|
|
||||||
public String getBodyText(){ return null; }
|
|
||||||
public String toString(){ return null; }
|
|
||||||
public boolean isBytes(){ return false; }
|
|
||||||
public boolean isText(){ return false; }
|
|
||||||
public byte[] getBodyBytes(){ return null; }
|
|
||||||
}
|
|
||||||
@@ -1,36 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.async.methods.SimpleHttpRequest for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.async.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.client5.http.async.methods.ConfigurableHttpRequest;
|
|
||||||
import org.apache.hc.client5.http.async.methods.SimpleBody;
|
|
||||||
import org.apache.hc.core5.http.ContentType;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.HttpRequest;
|
|
||||||
import org.apache.hc.core5.http.Method;
|
|
||||||
import org.apache.hc.core5.net.URIAuthority;
|
|
||||||
|
|
||||||
public class SimpleHttpRequest extends ConfigurableHttpRequest
|
|
||||||
{
|
|
||||||
protected SimpleHttpRequest() {}
|
|
||||||
public ContentType getContentType(){ return null; }
|
|
||||||
public SimpleBody getBody(){ return null; }
|
|
||||||
public SimpleHttpRequest(Method p0, HttpHost p1, String p2){}
|
|
||||||
public SimpleHttpRequest(Method p0, URI p1){}
|
|
||||||
public SimpleHttpRequest(String p0, HttpHost p1, String p2){}
|
|
||||||
public SimpleHttpRequest(String p0, String p1){}
|
|
||||||
public SimpleHttpRequest(String p0, String p1, URIAuthority p2, String p3){}
|
|
||||||
public SimpleHttpRequest(String p0, URI p1){}
|
|
||||||
public String getBodyText(){ return null; }
|
|
||||||
public byte[] getBodyBytes(){ return null; }
|
|
||||||
public static SimpleHttpRequest copy(HttpRequest p0){ return null; }
|
|
||||||
public static SimpleHttpRequest create(Method p0, HttpHost p1, String p2){ return null; }
|
|
||||||
public static SimpleHttpRequest create(Method p0, URI p1){ return null; }
|
|
||||||
public static SimpleHttpRequest create(String p0, String p1){ return null; }
|
|
||||||
public static SimpleHttpRequest create(String p0, String p1, URIAuthority p2, String p3){ return null; }
|
|
||||||
public static SimpleHttpRequest create(String p0, URI p1){ return null; }
|
|
||||||
public void setBody(SimpleBody p0){}
|
|
||||||
public void setBody(String p0, ContentType p1){}
|
|
||||||
public void setBody(byte[] p0, ContentType p1){}
|
|
||||||
}
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.async.methods.SimpleHttpRequests for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.async.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.client5.http.async.methods.SimpleHttpRequest;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.Method;
|
|
||||||
|
|
||||||
public class SimpleHttpRequests
|
|
||||||
{
|
|
||||||
public SimpleHttpRequests(){}
|
|
||||||
public static SimpleHttpRequest create(Method p0, HttpHost p1, String p2){ return null; }
|
|
||||||
public static SimpleHttpRequest create(Method p0, String p1){ return null; }
|
|
||||||
public static SimpleHttpRequest create(Method p0, URI p1){ return null; }
|
|
||||||
public static SimpleHttpRequest create(String p0, String p1){ return null; }
|
|
||||||
public static SimpleHttpRequest create(String p0, URI p1){ return null; }
|
|
||||||
public static SimpleHttpRequest delete(HttpHost p0, String p1){ return null; }
|
|
||||||
public static SimpleHttpRequest delete(String p0){ return null; }
|
|
||||||
public static SimpleHttpRequest delete(URI p0){ return null; }
|
|
||||||
public static SimpleHttpRequest get(HttpHost p0, String p1){ return null; }
|
|
||||||
public static SimpleHttpRequest get(String p0){ return null; }
|
|
||||||
public static SimpleHttpRequest get(URI p0){ return null; }
|
|
||||||
public static SimpleHttpRequest head(HttpHost p0, String p1){ return null; }
|
|
||||||
public static SimpleHttpRequest head(String p0){ return null; }
|
|
||||||
public static SimpleHttpRequest head(URI p0){ return null; }
|
|
||||||
public static SimpleHttpRequest options(HttpHost p0, String p1){ return null; }
|
|
||||||
public static SimpleHttpRequest options(String p0){ return null; }
|
|
||||||
public static SimpleHttpRequest options(URI p0){ return null; }
|
|
||||||
public static SimpleHttpRequest patch(HttpHost p0, String p1){ return null; }
|
|
||||||
public static SimpleHttpRequest patch(String p0){ return null; }
|
|
||||||
public static SimpleHttpRequest patch(URI p0){ return null; }
|
|
||||||
public static SimpleHttpRequest post(HttpHost p0, String p1){ return null; }
|
|
||||||
public static SimpleHttpRequest post(String p0){ return null; }
|
|
||||||
public static SimpleHttpRequest post(URI p0){ return null; }
|
|
||||||
public static SimpleHttpRequest put(HttpHost p0, String p1){ return null; }
|
|
||||||
public static SimpleHttpRequest put(String p0){ return null; }
|
|
||||||
public static SimpleHttpRequest put(URI p0){ return null; }
|
|
||||||
public static SimpleHttpRequest trace(HttpHost p0, String p1){ return null; }
|
|
||||||
public static SimpleHttpRequest trace(String p0){ return null; }
|
|
||||||
public static SimpleHttpRequest trace(URI p0){ return null; }
|
|
||||||
}
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.async.methods.SimpleRequestBuilder for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.async.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import java.nio.charset.Charset;
|
|
||||||
import org.apache.hc.client5.http.async.methods.SimpleBody;
|
|
||||||
import org.apache.hc.client5.http.async.methods.SimpleHttpRequest;
|
|
||||||
import org.apache.hc.client5.http.config.RequestConfig;
|
|
||||||
import org.apache.hc.core5.http.ContentType;
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.HttpRequest;
|
|
||||||
import org.apache.hc.core5.http.Method;
|
|
||||||
import org.apache.hc.core5.http.NameValuePair;
|
|
||||||
import org.apache.hc.core5.http.ProtocolVersion;
|
|
||||||
import org.apache.hc.core5.http.support.AbstractRequestBuilder;
|
|
||||||
import org.apache.hc.core5.net.URIAuthority;
|
|
||||||
|
|
||||||
public class SimpleRequestBuilder extends AbstractRequestBuilder<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; }
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.classic.HttpClient for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.classic;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
|
||||||
import org.apache.hc.core5.http.ClassicHttpResponse;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.HttpResponse;
|
|
||||||
import org.apache.hc.core5.http.io.HttpClientResponseHandler;
|
|
||||||
import org.apache.hc.core5.http.protocol.HttpContext;
|
|
||||||
|
|
||||||
public interface HttpClient
|
|
||||||
{
|
|
||||||
<T> 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);
|
|
||||||
}
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.classic.methods.ClassicHttpRequests for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.classic.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.client5.http.classic.methods.HttpUriRequest;
|
|
||||||
import org.apache.hc.core5.http.Method;
|
|
||||||
|
|
||||||
public class ClassicHttpRequests
|
|
||||||
{
|
|
||||||
public ClassicHttpRequests(){}
|
|
||||||
public static HttpUriRequest create(Method p0, String p1){ return null; }
|
|
||||||
public static HttpUriRequest create(Method p0, URI p1){ return null; }
|
|
||||||
public static HttpUriRequest create(String p0, String p1){ return null; }
|
|
||||||
public static HttpUriRequest create(String p0, URI p1){ return null; }
|
|
||||||
public static HttpUriRequest delete(String p0){ return null; }
|
|
||||||
public static HttpUriRequest delete(URI p0){ return null; }
|
|
||||||
public static HttpUriRequest get(String p0){ return null; }
|
|
||||||
public static HttpUriRequest get(URI p0){ return null; }
|
|
||||||
public static HttpUriRequest head(String p0){ return null; }
|
|
||||||
public static HttpUriRequest head(URI p0){ return null; }
|
|
||||||
public static HttpUriRequest options(String p0){ return null; }
|
|
||||||
public static HttpUriRequest options(URI p0){ return null; }
|
|
||||||
public static HttpUriRequest patch(String p0){ return null; }
|
|
||||||
public static HttpUriRequest patch(URI p0){ return null; }
|
|
||||||
public static HttpUriRequest post(String p0){ return null; }
|
|
||||||
public static HttpUriRequest post(URI p0){ return null; }
|
|
||||||
public static HttpUriRequest put(String p0){ return null; }
|
|
||||||
public static HttpUriRequest put(URI p0){ return null; }
|
|
||||||
public static HttpUriRequest trace(String p0){ return null; }
|
|
||||||
public static HttpUriRequest trace(URI p0){ return null; }
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpDelete for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.classic.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase;
|
|
||||||
|
|
||||||
public class HttpDelete extends HttpUriRequestBase
|
|
||||||
{
|
|
||||||
protected HttpDelete() {}
|
|
||||||
public HttpDelete(String p0){}
|
|
||||||
public HttpDelete(URI p0){}
|
|
||||||
public static String METHOD_NAME = null;
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpGet for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.classic.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase;
|
|
||||||
|
|
||||||
public class HttpGet extends HttpUriRequestBase
|
|
||||||
{
|
|
||||||
protected HttpGet() {}
|
|
||||||
public HttpGet(String p0){}
|
|
||||||
public HttpGet(URI p0){}
|
|
||||||
public static String METHOD_NAME = null;
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpHead for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.classic.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase;
|
|
||||||
|
|
||||||
public class HttpHead extends HttpUriRequestBase
|
|
||||||
{
|
|
||||||
protected HttpHead() {}
|
|
||||||
public HttpHead(String p0){}
|
|
||||||
public HttpHead(URI p0){}
|
|
||||||
public static String METHOD_NAME = null;
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpOptions for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.classic.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import java.util.Set;
|
|
||||||
import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase;
|
|
||||||
import org.apache.hc.core5.http.HttpResponse;
|
|
||||||
|
|
||||||
public class HttpOptions extends HttpUriRequestBase
|
|
||||||
{
|
|
||||||
protected HttpOptions() {}
|
|
||||||
public HttpOptions(String p0){}
|
|
||||||
public HttpOptions(URI p0){}
|
|
||||||
public Set<String> getAllowedMethods(HttpResponse p0){ return null; }
|
|
||||||
public String getMethod(){ return null; }
|
|
||||||
public static String METHOD_NAME = null;
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpPatch for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.classic.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase;
|
|
||||||
|
|
||||||
public class HttpPatch extends HttpUriRequestBase
|
|
||||||
{
|
|
||||||
protected HttpPatch() {}
|
|
||||||
public HttpPatch(String p0){}
|
|
||||||
public HttpPatch(URI p0){}
|
|
||||||
public static String METHOD_NAME = null;
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpPost for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.classic.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase;
|
|
||||||
|
|
||||||
public class HttpPost extends HttpUriRequestBase
|
|
||||||
{
|
|
||||||
protected HttpPost() {}
|
|
||||||
public HttpPost(String p0){}
|
|
||||||
public HttpPost(URI p0){}
|
|
||||||
public static String METHOD_NAME = null;
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpPut for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.classic.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase;
|
|
||||||
|
|
||||||
public class HttpPut extends HttpUriRequestBase
|
|
||||||
{
|
|
||||||
protected HttpPut() {}
|
|
||||||
public HttpPut(String p0){}
|
|
||||||
public HttpPut(URI p0){}
|
|
||||||
public static String METHOD_NAME = null;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpTrace for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.classic.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase;
|
|
||||||
import org.apache.hc.core5.http.HttpEntity;
|
|
||||||
|
|
||||||
public class HttpTrace extends HttpUriRequestBase
|
|
||||||
{
|
|
||||||
protected HttpTrace() {}
|
|
||||||
public HttpTrace(String p0){}
|
|
||||||
public HttpTrace(URI p0){}
|
|
||||||
public static String METHOD_NAME = null;
|
|
||||||
public void setEntity(HttpEntity p0){}
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpUriRequest for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.classic.methods;
|
|
||||||
|
|
||||||
import org.apache.hc.client5.http.config.Configurable;
|
|
||||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
|
||||||
|
|
||||||
public interface HttpUriRequest extends ClassicHttpRequest, Configurable
|
|
||||||
{
|
|
||||||
boolean isAborted();
|
|
||||||
void abort();
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.classic.methods.HttpUriRequestBase for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.classic.methods;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.client5.http.classic.methods.HttpUriRequest;
|
|
||||||
import org.apache.hc.client5.http.config.RequestConfig;
|
|
||||||
import org.apache.hc.core5.concurrent.Cancellable;
|
|
||||||
import org.apache.hc.core5.concurrent.CancellableDependency;
|
|
||||||
import org.apache.hc.core5.http.message.BasicClassicHttpRequest;
|
|
||||||
|
|
||||||
public class HttpUriRequestBase extends BasicClassicHttpRequest implements CancellableDependency, HttpUriRequest
|
|
||||||
{
|
|
||||||
protected HttpUriRequestBase() {}
|
|
||||||
public HttpUriRequestBase(String p0, URI p1){}
|
|
||||||
public RequestConfig getConfig(){ return null; }
|
|
||||||
public String toString(){ return null; }
|
|
||||||
public boolean cancel(){ return false; }
|
|
||||||
public boolean isAborted(){ return false; }
|
|
||||||
public boolean isCancelled(){ return false; }
|
|
||||||
public void abort(){}
|
|
||||||
public void reset(){}
|
|
||||||
public void setConfig(RequestConfig p0){}
|
|
||||||
public void setDependency(Cancellable p0){}
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.config.Configurable for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.config;
|
|
||||||
|
|
||||||
import org.apache.hc.client5.http.config.RequestConfig;
|
|
||||||
|
|
||||||
public interface Configurable
|
|
||||||
{
|
|
||||||
RequestConfig getConfig();
|
|
||||||
}
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.config.RequestConfig for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.config;
|
|
||||||
|
|
||||||
import java.util.Collection;
|
|
||||||
import java.util.concurrent.TimeUnit;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.util.TimeValue;
|
|
||||||
import org.apache.hc.core5.util.Timeout;
|
|
||||||
|
|
||||||
public class RequestConfig implements Cloneable
|
|
||||||
{
|
|
||||||
protected RequestConfig clone(){ return null; }
|
|
||||||
protected RequestConfig(){}
|
|
||||||
public Collection<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; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.fluent.Content for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.fluent;
|
|
||||||
|
|
||||||
import java.io.InputStream;
|
|
||||||
import java.nio.charset.Charset;
|
|
||||||
import org.apache.hc.core5.http.ContentType;
|
|
||||||
|
|
||||||
public class Content
|
|
||||||
{
|
|
||||||
protected Content() {}
|
|
||||||
public Content(byte[] p0, ContentType p1){}
|
|
||||||
public ContentType getType(){ return null; }
|
|
||||||
public InputStream asStream(){ return null; }
|
|
||||||
public String asString(){ return null; }
|
|
||||||
public String asString(Charset p0){ return null; }
|
|
||||||
public String toString(){ return null; }
|
|
||||||
public byte[] asBytes(){ return null; }
|
|
||||||
public static Content NO_CONTENT = null;
|
|
||||||
}
|
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.fluent.Request for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.fluent;
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.InputStream;
|
|
||||||
import java.net.URI;
|
|
||||||
import java.nio.charset.Charset;
|
|
||||||
import java.util.Date;
|
|
||||||
import java.util.Locale;
|
|
||||||
import java.util.TimeZone;
|
|
||||||
import org.apache.hc.client5.http.fluent.Response;
|
|
||||||
import org.apache.hc.client5.http.impl.classic.CloseableHttpClient;
|
|
||||||
import org.apache.hc.core5.http.ContentType;
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
import org.apache.hc.core5.http.HttpEntity;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.HttpVersion;
|
|
||||||
import org.apache.hc.core5.http.Method;
|
|
||||||
import org.apache.hc.core5.http.NameValuePair;
|
|
||||||
import org.apache.hc.core5.util.Timeout;
|
|
||||||
|
|
||||||
public class Request
|
|
||||||
{
|
|
||||||
protected Request() {}
|
|
||||||
public Request addHeader(Header p0){ return null; }
|
|
||||||
public Request addHeader(String p0, String p1){ return null; }
|
|
||||||
public Request body(HttpEntity p0){ return null; }
|
|
||||||
public Request bodyByteArray(byte[] p0){ return null; }
|
|
||||||
public Request bodyByteArray(byte[] p0, ContentType p1){ return null; }
|
|
||||||
public Request bodyByteArray(byte[] p0, int p1, int p2){ return null; }
|
|
||||||
public Request bodyByteArray(byte[] p0, int p1, int p2, ContentType p3){ return null; }
|
|
||||||
public Request bodyFile(File p0, ContentType p1){ return null; }
|
|
||||||
public Request bodyForm(Iterable<? 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;
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.fluent.Response for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.fluent;
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import org.apache.hc.client5.http.fluent.Content;
|
|
||||||
import org.apache.hc.core5.http.HttpResponse;
|
|
||||||
import org.apache.hc.core5.http.io.HttpClientResponseHandler;
|
|
||||||
|
|
||||||
public class Response
|
|
||||||
{
|
|
||||||
protected Response() {}
|
|
||||||
public <T> 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){}
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.impl.classic.CloseableHttpClient for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.impl.classic;
|
|
||||||
|
|
||||||
import org.apache.hc.client5.http.classic.HttpClient;
|
|
||||||
import org.apache.hc.client5.http.impl.classic.CloseableHttpResponse;
|
|
||||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.io.HttpClientResponseHandler;
|
|
||||||
import org.apache.hc.core5.http.protocol.HttpContext;
|
|
||||||
import org.apache.hc.core5.io.ModalCloseable;
|
|
||||||
|
|
||||||
abstract public class CloseableHttpClient implements HttpClient, ModalCloseable
|
|
||||||
{
|
|
||||||
protected abstract CloseableHttpResponse doExecute(HttpHost p0, ClassicHttpRequest p1, HttpContext p2);
|
|
||||||
public <T> 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; }
|
|
||||||
}
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.client5.http.impl.classic.CloseableHttpResponse for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.client5.http.impl.classic;
|
|
||||||
|
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.Locale;
|
|
||||||
import org.apache.hc.core5.http.ClassicHttpResponse;
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
import org.apache.hc.core5.http.HttpEntity;
|
|
||||||
import org.apache.hc.core5.http.ProtocolVersion;
|
|
||||||
|
|
||||||
public class CloseableHttpResponse implements ClassicHttpResponse
|
|
||||||
{
|
|
||||||
protected CloseableHttpResponse() {}
|
|
||||||
public Header getFirstHeader(String p0){ return null; }
|
|
||||||
public Header getHeader(String p0){ return null; }
|
|
||||||
public Header getLastHeader(String p0){ return null; }
|
|
||||||
public Header[] getHeaders(){ return null; }
|
|
||||||
public Header[] getHeaders(String p0){ return null; }
|
|
||||||
public HttpEntity getEntity(){ return null; }
|
|
||||||
public Iterator<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){}
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.concurrent.Cancellable for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.concurrent;
|
|
||||||
|
|
||||||
|
|
||||||
public interface Cancellable
|
|
||||||
{
|
|
||||||
boolean cancel();
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.concurrent.CancellableDependency for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.concurrent;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.concurrent.Cancellable;
|
|
||||||
|
|
||||||
public interface CancellableDependency extends Cancellable
|
|
||||||
{
|
|
||||||
boolean isCancelled();
|
|
||||||
void setDependency(Cancellable p0);
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.concurrent.FutureCallback for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.concurrent;
|
|
||||||
|
|
||||||
|
|
||||||
public interface FutureCallback<T>
|
|
||||||
{
|
|
||||||
void cancelled();
|
|
||||||
void completed(T p0);
|
|
||||||
void failed(Exception p0);
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.function.Callback for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.function;
|
|
||||||
|
|
||||||
|
|
||||||
public interface Callback<T>
|
|
||||||
{
|
|
||||||
void execute(T p0);
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.function.Decorator for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.function;
|
|
||||||
|
|
||||||
|
|
||||||
public interface Decorator<T>
|
|
||||||
{
|
|
||||||
T decorate(T p0);
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.function.Resolver for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.function;
|
|
||||||
|
|
||||||
|
|
||||||
public interface Resolver<I, O>
|
|
||||||
{
|
|
||||||
O resolve(I p0);
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.function.Supplier for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.function;
|
|
||||||
|
|
||||||
|
|
||||||
public interface Supplier<T>
|
|
||||||
{
|
|
||||||
T get();
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.ClassicHttpRequest for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.HttpEntityContainer;
|
|
||||||
import org.apache.hc.core5.http.HttpRequest;
|
|
||||||
|
|
||||||
public interface ClassicHttpRequest extends HttpEntityContainer, HttpRequest
|
|
||||||
{
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.ClassicHttpResponse for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import java.io.Closeable;
|
|
||||||
import org.apache.hc.core5.http.HttpEntityContainer;
|
|
||||||
import org.apache.hc.core5.http.HttpResponse;
|
|
||||||
|
|
||||||
public interface ClassicHttpResponse extends Closeable, HttpEntityContainer, HttpResponse
|
|
||||||
{
|
|
||||||
}
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.ContentType for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.nio.charset.Charset;
|
|
||||||
import org.apache.hc.core5.http.NameValuePair;
|
|
||||||
|
|
||||||
public class ContentType implements Serializable
|
|
||||||
{
|
|
||||||
protected ContentType() {}
|
|
||||||
public Charset getCharset(){ return null; }
|
|
||||||
public Charset getCharset(Charset p0){ return null; }
|
|
||||||
public ContentType withCharset(Charset p0){ return null; }
|
|
||||||
public ContentType withCharset(String p0){ return null; }
|
|
||||||
public ContentType withParameters(NameValuePair... p0){ return null; }
|
|
||||||
public String getMimeType(){ return null; }
|
|
||||||
public String getParameter(String p0){ return null; }
|
|
||||||
public String toString(){ return null; }
|
|
||||||
public boolean isSameMimeType(ContentType p0){ return false; }
|
|
||||||
public static Charset getCharset(ContentType p0, Charset p1){ return null; }
|
|
||||||
public static ContentType APPLICATION_ATOM_XML = null;
|
|
||||||
public static ContentType APPLICATION_FORM_URLENCODED = null;
|
|
||||||
public static ContentType APPLICATION_JSON = null;
|
|
||||||
public static ContentType APPLICATION_NDJSON = null;
|
|
||||||
public static ContentType APPLICATION_OCTET_STREAM = null;
|
|
||||||
public static ContentType APPLICATION_PDF = null;
|
|
||||||
public static ContentType APPLICATION_PROBLEM_JSON = null;
|
|
||||||
public static ContentType APPLICATION_PROBLEM_XML = null;
|
|
||||||
public static ContentType APPLICATION_RSS_XML = null;
|
|
||||||
public static ContentType APPLICATION_SOAP_XML = null;
|
|
||||||
public static ContentType APPLICATION_SVG_XML = null;
|
|
||||||
public static ContentType APPLICATION_XHTML_XML = null;
|
|
||||||
public static ContentType APPLICATION_XML = null;
|
|
||||||
public static ContentType DEFAULT_BINARY = null;
|
|
||||||
public static ContentType DEFAULT_TEXT = null;
|
|
||||||
public static ContentType IMAGE_BMP = null;
|
|
||||||
public static ContentType IMAGE_GIF = null;
|
|
||||||
public static ContentType IMAGE_JPEG = null;
|
|
||||||
public static ContentType IMAGE_PNG = null;
|
|
||||||
public static ContentType IMAGE_SVG = null;
|
|
||||||
public static ContentType IMAGE_TIFF = null;
|
|
||||||
public static ContentType IMAGE_WEBP = null;
|
|
||||||
public static ContentType MULTIPART_FORM_DATA = null;
|
|
||||||
public static ContentType MULTIPART_MIXED = null;
|
|
||||||
public static ContentType MULTIPART_RELATED = null;
|
|
||||||
public static ContentType TEXT_EVENT_STREAM = null;
|
|
||||||
public static ContentType TEXT_HTML = null;
|
|
||||||
public static ContentType TEXT_MARKDOWN = null;
|
|
||||||
public static ContentType TEXT_PLAIN = null;
|
|
||||||
public static ContentType TEXT_XML = null;
|
|
||||||
public static ContentType WILDCARD = null;
|
|
||||||
public static ContentType create(String p0){ return null; }
|
|
||||||
public static ContentType create(String p0, Charset p1){ return null; }
|
|
||||||
public static ContentType create(String p0, NameValuePair... p1){ return null; }
|
|
||||||
public static ContentType create(String p0, String p1){ return null; }
|
|
||||||
public static ContentType getByMimeType(String p0){ return null; }
|
|
||||||
public static ContentType parse(CharSequence p0){ return null; }
|
|
||||||
public static ContentType parseLenient(CharSequence p0){ return null; }
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.EntityDetails for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import java.util.Set;
|
|
||||||
|
|
||||||
public interface EntityDetails
|
|
||||||
{
|
|
||||||
Set<String> getTrailerNames();
|
|
||||||
String getContentEncoding();
|
|
||||||
String getContentType();
|
|
||||||
boolean isChunked();
|
|
||||||
long getContentLength();
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.Header for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.NameValuePair;
|
|
||||||
|
|
||||||
public interface Header extends NameValuePair
|
|
||||||
{
|
|
||||||
boolean isSensitive();
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.HttpEntity for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import java.io.Closeable;
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.InputStream;
|
|
||||||
import java.io.OutputStream;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.hc.core5.function.Supplier;
|
|
||||||
import org.apache.hc.core5.http.EntityDetails;
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
|
|
||||||
public interface HttpEntity extends Closeable, EntityDetails
|
|
||||||
{
|
|
||||||
InputStream getContent() throws IOException, UnsupportedOperationException;
|
|
||||||
Supplier<List<? extends Header>> getTrailers();
|
|
||||||
boolean isRepeatable();
|
|
||||||
boolean isStreaming();
|
|
||||||
void writeTo(OutputStream p0) throws IOException;
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.HttpEntityContainer for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.HttpEntity;
|
|
||||||
|
|
||||||
public interface HttpEntityContainer
|
|
||||||
{
|
|
||||||
HttpEntity getEntity();
|
|
||||||
void setEntity(HttpEntity p0);
|
|
||||||
}
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Signals that an HTTP exception has occurred.
|
|
||||||
*
|
|
||||||
* @since 4.0
|
|
||||||
*/
|
|
||||||
public class HttpException extends Exception {
|
|
||||||
public HttpException() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public HttpException(final String message) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public HttpException(final String format, final Object... args) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public HttpException(final String message, final Throwable cause) {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.HttpHost for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.net.InetAddress;
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.core5.http.URIScheme;
|
|
||||||
import org.apache.hc.core5.net.NamedEndpoint;
|
|
||||||
import org.apache.hc.core5.net.URIAuthority;
|
|
||||||
|
|
||||||
public class HttpHost implements NamedEndpoint, Serializable
|
|
||||||
{
|
|
||||||
protected HttpHost() {}
|
|
||||||
public HttpHost(InetAddress p0){}
|
|
||||||
public HttpHost(InetAddress p0, int p1){}
|
|
||||||
public HttpHost(String p0){}
|
|
||||||
public HttpHost(String p0, InetAddress p1, String p2, int p3){}
|
|
||||||
public HttpHost(String p0, InetAddress p1, int p2){}
|
|
||||||
public HttpHost(String p0, NamedEndpoint p1){}
|
|
||||||
public HttpHost(String p0, String p1){}
|
|
||||||
public HttpHost(String p0, String p1, int p2){}
|
|
||||||
public HttpHost(String p0, int p1){}
|
|
||||||
public HttpHost(URIAuthority p0){}
|
|
||||||
public InetAddress getAddress(){ return null; }
|
|
||||||
public String getHostName(){ return null; }
|
|
||||||
public String getSchemeName(){ return null; }
|
|
||||||
public String toHostString(){ return null; }
|
|
||||||
public String toString(){ return null; }
|
|
||||||
public String toURI(){ return null; }
|
|
||||||
public boolean equals(Object p0){ return false; }
|
|
||||||
public int getPort(){ return 0; }
|
|
||||||
public int hashCode(){ return 0; }
|
|
||||||
public static HttpHost create(String p0){ return null; }
|
|
||||||
public static HttpHost create(URI p0){ return null; }
|
|
||||||
public static URIScheme DEFAULT_SCHEME = null;
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.HttpMessage for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
import org.apache.hc.core5.http.MessageHeaders;
|
|
||||||
import org.apache.hc.core5.http.ProtocolVersion;
|
|
||||||
|
|
||||||
public interface HttpMessage extends MessageHeaders
|
|
||||||
{
|
|
||||||
ProtocolVersion getVersion();
|
|
||||||
boolean removeHeader(Header p0);
|
|
||||||
boolean removeHeaders(String p0);
|
|
||||||
void addHeader(Header p0);
|
|
||||||
void addHeader(String p0, Object p1);
|
|
||||||
void setHeader(Header p0);
|
|
||||||
void setHeader(String p0, Object p1);
|
|
||||||
void setHeaders(Header... p0);
|
|
||||||
void setVersion(ProtocolVersion p0);
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.HttpRequest for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.core5.http.HttpMessage;
|
|
||||||
import org.apache.hc.core5.net.URIAuthority;
|
|
||||||
|
|
||||||
public interface HttpRequest extends HttpMessage
|
|
||||||
{
|
|
||||||
String getMethod();
|
|
||||||
String getPath();
|
|
||||||
String getRequestUri();
|
|
||||||
String getScheme();
|
|
||||||
URI getUri();
|
|
||||||
URIAuthority getAuthority();
|
|
||||||
void setAuthority(URIAuthority p0);
|
|
||||||
void setPath(String p0);
|
|
||||||
void setScheme(String p0);
|
|
||||||
void setUri(URI p0);
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.HttpRequestFactory for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.core5.http.HttpRequest;
|
|
||||||
|
|
||||||
public interface HttpRequestFactory<T extends HttpRequest>
|
|
||||||
{
|
|
||||||
T newHttpRequest(String p0, String p1);
|
|
||||||
T newHttpRequest(String p0, URI p1);
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.HttpResponse for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import java.util.Locale;
|
|
||||||
import org.apache.hc.core5.http.HttpMessage;
|
|
||||||
|
|
||||||
public interface HttpResponse extends HttpMessage
|
|
||||||
{
|
|
||||||
Locale getLocale();
|
|
||||||
String getReasonPhrase();
|
|
||||||
int getCode();
|
|
||||||
void setCode(int p0);
|
|
||||||
void setLocale(Locale p0);
|
|
||||||
void setReasonPhrase(String p0);
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.HttpVersion for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.ProtocolVersion;
|
|
||||||
|
|
||||||
public class HttpVersion extends ProtocolVersion
|
|
||||||
{
|
|
||||||
protected HttpVersion() {}
|
|
||||||
public HttpVersion(int p0, int p1){}
|
|
||||||
public static HttpVersion DEFAULT = null;
|
|
||||||
public static HttpVersion HTTP_0_9 = null;
|
|
||||||
public static HttpVersion HTTP_1_0 = null;
|
|
||||||
public static HttpVersion HTTP_1_1 = null;
|
|
||||||
public static HttpVersion HTTP_2 = null;
|
|
||||||
public static HttpVersion HTTP_2_0 = null;
|
|
||||||
public static HttpVersion get(int p0, int p1){ return null; }
|
|
||||||
public static HttpVersion[] ALL = null;
|
|
||||||
public static String HTTP = null;
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.MessageHeaders for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import java.util.Iterator;
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
|
|
||||||
public interface MessageHeaders
|
|
||||||
{
|
|
||||||
Header getFirstHeader(String p0);
|
|
||||||
Header getHeader(String p0);
|
|
||||||
Header getLastHeader(String p0);
|
|
||||||
Header[] getHeaders();
|
|
||||||
Header[] getHeaders(String p0);
|
|
||||||
Iterator<Header> headerIterator();
|
|
||||||
Iterator<Header> headerIterator(String p0);
|
|
||||||
boolean containsHeader(String p0);
|
|
||||||
int countHeaders(String p0);
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.Method for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
|
|
||||||
public enum Method
|
|
||||||
{
|
|
||||||
CONNECT, DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT, TRACE;
|
|
||||||
private Method() {}
|
|
||||||
public boolean isIdempotent(){ return false; }
|
|
||||||
public boolean isSafe(){ return false; }
|
|
||||||
public boolean isSame(String p0){ return false; }
|
|
||||||
public static Method normalizedValueOf(String p0){ return null; }
|
|
||||||
public static boolean isIdempotent(String p0){ return false; }
|
|
||||||
public static boolean isSafe(String p0){ return false; }
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.NameValuePair for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
|
|
||||||
public interface NameValuePair
|
|
||||||
{
|
|
||||||
String getName();
|
|
||||||
String getValue();
|
|
||||||
}
|
|
||||||
@@ -1,52 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Signals a protocol exception due to failure to parse a message element.
|
|
||||||
*
|
|
||||||
* @since 4.0
|
|
||||||
*/
|
|
||||||
public class ParseException extends ProtocolException {
|
|
||||||
public ParseException() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ParseException(final String message) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ParseException(final String description, final CharSequence text, final int off, final int len, final int errorOffset) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ParseException(final String description, final CharSequence text, final int off, final int len) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getErrorOffset() {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Signals that an HTTP protocol violation has occurred.
|
|
||||||
* For example a malformed status line or headers, a missing message body, etc.
|
|
||||||
*
|
|
||||||
* @since 4.0
|
|
||||||
*/
|
|
||||||
public class ProtocolException extends HttpException {
|
|
||||||
public ProtocolException() {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ProtocolException(final String message) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ProtocolException(final String format, final Object... args) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ProtocolException(final String message, final Throwable cause) {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.ProtocolVersion for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
public class ProtocolVersion implements Serializable
|
|
||||||
{
|
|
||||||
protected ProtocolVersion() {}
|
|
||||||
public ProtocolVersion(String p0, int p1, int p2){}
|
|
||||||
public String format(){ return null; }
|
|
||||||
public String toString(){ return null; }
|
|
||||||
public boolean isComparable(ProtocolVersion p0){ return false; }
|
|
||||||
public final String getProtocol(){ return null; }
|
|
||||||
public final boolean equals(Object p0){ return false; }
|
|
||||||
public final boolean equals(int p0, int p1){ return false; }
|
|
||||||
public final boolean greaterEquals(ProtocolVersion p0){ return false; }
|
|
||||||
public final boolean lessEquals(ProtocolVersion p0){ return false; }
|
|
||||||
public final int getMajor(){ return 0; }
|
|
||||||
public final int getMinor(){ return 0; }
|
|
||||||
public final int hashCode(){ return 0; }
|
|
||||||
public int compareToVersion(ProtocolVersion p0){ return 0; }
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.SocketModalCloseable for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.io.ModalCloseable;
|
|
||||||
import org.apache.hc.core5.util.Timeout;
|
|
||||||
|
|
||||||
public interface SocketModalCloseable extends ModalCloseable
|
|
||||||
{
|
|
||||||
Timeout getSocketTimeout();
|
|
||||||
void setSocketTimeout(Timeout p0);
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.URIScheme for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http;
|
|
||||||
|
|
||||||
|
|
||||||
public enum URIScheme
|
|
||||||
{
|
|
||||||
HTTP, HTTPS;
|
|
||||||
private URIScheme() {}
|
|
||||||
public String getId(){ return null; }
|
|
||||||
public String toString(){ return null; }
|
|
||||||
public boolean same(String p0){ return false; }
|
|
||||||
public final String id = null;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.impl.bootstrap.AbstractConnectionInitiatorBase for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.impl.bootstrap;
|
|
||||||
|
|
||||||
import java.net.SocketAddress;
|
|
||||||
import java.util.concurrent.Future;
|
|
||||||
import org.apache.hc.core5.concurrent.FutureCallback;
|
|
||||||
import org.apache.hc.core5.net.NamedEndpoint;
|
|
||||||
import org.apache.hc.core5.reactor.ConnectionInitiator;
|
|
||||||
import org.apache.hc.core5.reactor.IOSession;
|
|
||||||
import org.apache.hc.core5.util.Timeout;
|
|
||||||
|
|
||||||
abstract class AbstractConnectionInitiatorBase implements ConnectionInitiator
|
|
||||||
{
|
|
||||||
public final Future<IOSession> connect(NamedEndpoint p0, SocketAddress p1, SocketAddress p2, Timeout p3, Object p4, FutureCallback<IOSession> p5){ return null; }
|
|
||||||
}
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.impl.bootstrap.AsyncRequester for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.impl.bootstrap;
|
|
||||||
|
|
||||||
import java.net.InetSocketAddress;
|
|
||||||
import java.util.concurrent.Future;
|
|
||||||
import org.apache.hc.core5.concurrent.FutureCallback;
|
|
||||||
import org.apache.hc.core5.function.Callback;
|
|
||||||
import org.apache.hc.core5.function.Decorator;
|
|
||||||
import org.apache.hc.core5.function.Resolver;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.impl.bootstrap.AbstractConnectionInitiatorBase;
|
|
||||||
import org.apache.hc.core5.io.CloseMode;
|
|
||||||
import org.apache.hc.core5.reactor.IOEventHandlerFactory;
|
|
||||||
import org.apache.hc.core5.reactor.IOReactorConfig;
|
|
||||||
import org.apache.hc.core5.reactor.IOReactorService;
|
|
||||||
import org.apache.hc.core5.reactor.IOReactorStatus;
|
|
||||||
import org.apache.hc.core5.reactor.IOSession;
|
|
||||||
import org.apache.hc.core5.reactor.IOSessionListener;
|
|
||||||
import org.apache.hc.core5.util.TimeValue;
|
|
||||||
import org.apache.hc.core5.util.Timeout;
|
|
||||||
|
|
||||||
public class AsyncRequester extends AbstractConnectionInitiatorBase implements IOReactorService
|
|
||||||
{
|
|
||||||
protected AsyncRequester() {}
|
|
||||||
public AsyncRequester(IOEventHandlerFactory p0, IOReactorConfig p1, Decorator<IOSession> p2, Callback<Exception> p3, IOSessionListener p4, Callback<IOSession> p5, Resolver<HttpHost, InetSocketAddress> p6){}
|
|
||||||
public Future<IOSession> requestSession(HttpHost p0, Timeout p1, Object p2, FutureCallback<IOSession> p3){ return null; }
|
|
||||||
public IOReactorStatus getStatus(){ return null; }
|
|
||||||
public void awaitShutdown(TimeValue p0){}
|
|
||||||
public void close(){}
|
|
||||||
public void close(CloseMode p0){}
|
|
||||||
public void initiateShutdown(){}
|
|
||||||
public void start(){}
|
|
||||||
}
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.impl.bootstrap.HttpAsyncRequester for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.impl.bootstrap;
|
|
||||||
|
|
||||||
import java.util.Set;
|
|
||||||
import java.util.concurrent.Future;
|
|
||||||
import org.apache.hc.core5.concurrent.FutureCallback;
|
|
||||||
import org.apache.hc.core5.function.Callback;
|
|
||||||
import org.apache.hc.core5.function.Decorator;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.impl.bootstrap.AsyncRequester;
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncClientEndpoint;
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncClientExchangeHandler;
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncPushConsumer;
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncRequestProducer;
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncResponseConsumer;
|
|
||||||
import org.apache.hc.core5.http.nio.HandlerFactory;
|
|
||||||
import org.apache.hc.core5.http.nio.ResourceHolder;
|
|
||||||
import org.apache.hc.core5.http.nio.ssl.TlsStrategy;
|
|
||||||
import org.apache.hc.core5.http.protocol.HttpContext;
|
|
||||||
import org.apache.hc.core5.io.ModalCloseable;
|
|
||||||
import org.apache.hc.core5.net.NamedEndpoint;
|
|
||||||
import org.apache.hc.core5.pool.ConnPoolControl;
|
|
||||||
import org.apache.hc.core5.pool.ManagedConnPool;
|
|
||||||
import org.apache.hc.core5.pool.PoolStats;
|
|
||||||
import org.apache.hc.core5.reactor.IOEventHandlerFactory;
|
|
||||||
import org.apache.hc.core5.reactor.IOReactorConfig;
|
|
||||||
import org.apache.hc.core5.reactor.IOSession;
|
|
||||||
import org.apache.hc.core5.reactor.IOSessionListener;
|
|
||||||
import org.apache.hc.core5.reactor.ProtocolIOSession;
|
|
||||||
import org.apache.hc.core5.util.TimeValue;
|
|
||||||
import org.apache.hc.core5.util.Timeout;
|
|
||||||
|
|
||||||
public class HttpAsyncRequester extends AsyncRequester implements ConnPoolControl<HttpHost>
|
|
||||||
{
|
|
||||||
protected HttpAsyncRequester() {}
|
|
||||||
protected Future<AsyncClientEndpoint> doConnect(HttpHost p0, Timeout p1, Object p2, FutureCallback<AsyncClientEndpoint> p3){ return null; }
|
|
||||||
protected void doTlsUpgrade(ProtocolIOSession p0, NamedEndpoint p1, FutureCallback<ProtocolIOSession> p2){}
|
|
||||||
public Future<AsyncClientEndpoint> connect(HttpHost p0, Timeout p1){ return null; }
|
|
||||||
public Future<AsyncClientEndpoint> connect(HttpHost p0, Timeout p1, Object p2, FutureCallback<AsyncClientEndpoint> p3){ return null; }
|
|
||||||
public HttpAsyncRequester(IOReactorConfig p0, IOEventHandlerFactory p1, Decorator<IOSession> p2, Callback<Exception> p3, IOSessionListener p4, ManagedConnPool<HttpHost, IOSession> p5){}
|
|
||||||
public HttpAsyncRequester(IOReactorConfig p0, IOEventHandlerFactory p1, Decorator<IOSession> p2, Callback<Exception> p3, IOSessionListener p4, ManagedConnPool<HttpHost, IOSession> p5, TlsStrategy p6, Timeout p7){}
|
|
||||||
public PoolStats getStats(HttpHost p0){ return null; }
|
|
||||||
public PoolStats getTotalStats(){ return null; }
|
|
||||||
public Set<HttpHost> getRoutes(){ return null; }
|
|
||||||
public final <T> java.util.concurrent.Future<T> execute(AsyncRequestProducer p0, org.apache.hc.core5.http.nio.AsyncResponseConsumer<T> p1, HandlerFactory<AsyncPushConsumer> p2, Timeout p3, HttpContext p4, org.apache.hc.core5.concurrent.FutureCallback<T> p5){ return null; }
|
|
||||||
public final <T> java.util.concurrent.Future<T> execute(AsyncRequestProducer p0, org.apache.hc.core5.http.nio.AsyncResponseConsumer<T> p1, Timeout p2, HttpContext p3, org.apache.hc.core5.concurrent.FutureCallback<T> p4){ return null; }
|
|
||||||
public final <T> java.util.concurrent.Future<T> execute(AsyncRequestProducer p0, org.apache.hc.core5.http.nio.AsyncResponseConsumer<T> p1, Timeout p2, org.apache.hc.core5.concurrent.FutureCallback<T> p3){ return null; }
|
|
||||||
public int getDefaultMaxPerRoute(){ return 0; }
|
|
||||||
public int getMaxPerRoute(HttpHost p0){ return 0; }
|
|
||||||
public int getMaxTotal(){ return 0; }
|
|
||||||
public void closeExpired(){}
|
|
||||||
public void closeIdle(TimeValue p0){}
|
|
||||||
public void execute(AsyncClientExchangeHandler p0, HandlerFactory<AsyncPushConsumer> p1, Timeout p2, HttpContext p3){}
|
|
||||||
public void execute(AsyncClientExchangeHandler p0, Timeout p1, HttpContext p2){}
|
|
||||||
public void setDefaultMaxPerRoute(int p0){}
|
|
||||||
public void setMaxPerRoute(HttpHost p0, int p1){}
|
|
||||||
public void setMaxTotal(int p0){}
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.impl.io.DefaultClassicHttpRequestFactory for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.impl.io;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
|
||||||
import org.apache.hc.core5.http.HttpRequest;
|
|
||||||
import org.apache.hc.core5.http.HttpRequestFactory;
|
|
||||||
|
|
||||||
public class DefaultClassicHttpRequestFactory implements HttpRequestFactory<ClassicHttpRequest>
|
|
||||||
{
|
|
||||||
public ClassicHttpRequest newHttpRequest(String p0, String p1){ return null; }
|
|
||||||
public ClassicHttpRequest newHttpRequest(String p0, URI p1){ return null; }
|
|
||||||
public DefaultClassicHttpRequestFactory(){}
|
|
||||||
public static DefaultClassicHttpRequestFactory INSTANCE = null;
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.impl.nio.DefaultHttpRequestFactory for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.impl.nio;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.core5.http.HttpRequest;
|
|
||||||
import org.apache.hc.core5.http.HttpRequestFactory;
|
|
||||||
|
|
||||||
public class DefaultHttpRequestFactory implements HttpRequestFactory<HttpRequest>
|
|
||||||
{
|
|
||||||
public DefaultHttpRequestFactory(){}
|
|
||||||
public HttpRequest newHttpRequest(String p0, String p1){ return null; }
|
|
||||||
public HttpRequest newHttpRequest(String p0, URI p1){ return null; }
|
|
||||||
public static DefaultHttpRequestFactory INSTANCE = null;
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.io.HttpClientResponseHandler for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.io;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.ClassicHttpResponse;
|
|
||||||
|
|
||||||
public interface HttpClientResponseHandler<T>
|
|
||||||
{
|
|
||||||
T handleResponse(ClassicHttpResponse p0);
|
|
||||||
}
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.io;
|
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
|
||||||
import org.apache.hc.core5.http.ClassicHttpResponse;
|
|
||||||
import org.apache.hc.core5.http.HttpException;
|
|
||||||
import org.apache.hc.core5.http.protocol.HttpContext;
|
|
||||||
|
|
||||||
public interface HttpRequestHandler {
|
|
||||||
void handle(ClassicHttpRequest request, ClassicHttpResponse response, HttpContext context)
|
|
||||||
throws HttpException, IOException;
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.apache.hc.core5.http.io;
|
|
||||||
import java.io.IOException;
|
|
||||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
|
||||||
import org.apache.hc.core5.http.ClassicHttpResponse;
|
|
||||||
import org.apache.hc.core5.http.HttpException;
|
|
||||||
import org.apache.hc.core5.http.protocol.HttpContext;
|
|
||||||
|
|
||||||
public interface HttpServerRequestHandler {
|
|
||||||
interface ResponseTrigger {
|
|
||||||
void sendInformation(ClassicHttpResponse response) throws HttpException, IOException;
|
|
||||||
|
|
||||||
void submitResponse(ClassicHttpResponse response) throws HttpException, IOException;
|
|
||||||
|
|
||||||
}
|
|
||||||
void handle(
|
|
||||||
ClassicHttpRequest request,
|
|
||||||
ResponseTrigger responseTrigger,
|
|
||||||
HttpContext context) throws HttpException, IOException;
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,86 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.io.entity;
|
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.InputStream;
|
|
||||||
import java.io.OutputStream;
|
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Set;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.function.Supplier;
|
|
||||||
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.util.Args;
|
|
||||||
|
|
||||||
public abstract class AbstractHttpEntity implements HttpEntity {
|
|
||||||
public static void writeTo(final HttpEntity entity, final OutputStream outStream) throws IOException {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void writeTo(final OutputStream outStream) throws IOException {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final String getContentType() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final String getContentEncoding() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final boolean isChunked() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isRepeatable() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Supplier<List<? extends Header>> getTrailers() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public Set<String> getTrailerNames() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,92 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.io.entity;
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.InputStream;
|
|
||||||
import java.io.OutputStream;
|
|
||||||
import org.apache.hc.core5.http.ContentType;
|
|
||||||
|
|
||||||
public class ByteArrayEntity extends AbstractHttpEntity {
|
|
||||||
public ByteArrayEntity(
|
|
||||||
final byte[] b, final int off, final int len, final ContentType contentType, final String contentEncoding,
|
|
||||||
final boolean chunked) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ByteArrayEntity(
|
|
||||||
final byte[] b, final int off, final int len, final ContentType contentType, final String contentEncoding) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ByteArrayEntity(
|
|
||||||
final byte[] b, final ContentType contentType, final String contentEncoding, final boolean chunked) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ByteArrayEntity(final byte[] b, final ContentType contentType, final String contentEncoding) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ByteArrayEntity(final byte[] b, final ContentType contentType, final boolean chunked) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ByteArrayEntity(final byte[] b, final ContentType contentType) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ByteArrayEntity(
|
|
||||||
final byte[] b, final int off, final int len, final ContentType contentType, final boolean chunked) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ByteArrayEntity(final byte[] b, final int off, final int len, final ContentType contentType) {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final boolean isRepeatable() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final long getContentLength() {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final InputStream getContent() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final void writeTo(final OutputStream outStream) throws IOException {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final boolean isStreaming() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final void close() throws IOException {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.io.entity;
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.InputStream;
|
|
||||||
import java.nio.ByteBuffer;
|
|
||||||
import org.apache.hc.core5.http.ContentType;
|
|
||||||
|
|
||||||
public class ByteBufferEntity extends AbstractHttpEntity {
|
|
||||||
public ByteBufferEntity(final ByteBuffer buffer, final ContentType contentType, final String contentEncoding) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public ByteBufferEntity(final ByteBuffer buffer, final ContentType contentType) {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final boolean isRepeatable() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final long getContentLength() {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final InputStream getContent() throws IOException, UnsupportedOperationException {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final boolean isStreaming() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final void close() throws IOException {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,89 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.io.entity;
|
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.nio.charset.Charset;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.HttpEntity;
|
|
||||||
import org.apache.hc.core5.http.NameValuePair;
|
|
||||||
import org.apache.hc.core5.http.ParseException;
|
|
||||||
|
|
||||||
public final class EntityUtils {
|
|
||||||
public static void consumeQuietly(final HttpEntity entity) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void consume(final HttpEntity entity) throws IOException {
|
|
||||||
}
|
|
||||||
|
|
||||||
public static byte[] toByteArray(final HttpEntity entity) throws IOException {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static byte[] toByteArray(final HttpEntity entity, final int maxResultLength) throws IOException {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static String toString(
|
|
||||||
final HttpEntity entity, final Charset defaultCharset) throws IOException, ParseException {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static String toString(
|
|
||||||
final HttpEntity entity, final Charset defaultCharset, final int maxResultLength) throws IOException, ParseException {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static String toString(
|
|
||||||
final HttpEntity entity, final String defaultCharset) throws IOException, ParseException {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static String toString(
|
|
||||||
final HttpEntity entity, final String defaultCharset, final int maxResultLength) throws IOException, ParseException {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static String toString(final HttpEntity entity) throws IOException, ParseException {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static String toString(final HttpEntity entity, final int maxResultLength) throws IOException, ParseException {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static List<NameValuePair> parse(final HttpEntity entity) throws IOException {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static List<NameValuePair> parse(final HttpEntity entity, final int maxStreamLength) throws IOException {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,152 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.io.entity;
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.OutputStream;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.nio.charset.Charset;
|
|
||||||
import java.nio.file.Path;
|
|
||||||
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.NameValuePair;
|
|
||||||
import org.apache.hc.core5.io.IOCallback;
|
|
||||||
|
|
||||||
public final class HttpEntities {
|
|
||||||
public static HttpEntity create(final String content, final ContentType contentType) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(final String content, final Charset charset) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(final String content) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(final byte[] content, final ContentType contentType) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(final File content, final ContentType contentType) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(final Serializable serializable, final ContentType contentType) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity createUrlEncoded(
|
|
||||||
final Iterable <? extends NameValuePair> parameters, final Charset charset) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(final IOCallback<OutputStream> callback, final ContentType contentType) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity gzip(final HttpEntity entity) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity createGzipped(final String content, final ContentType contentType) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity createGzipped(final String content, final Charset charset) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity createGzipped(final String content) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity createGzipped(final byte[] content, final ContentType contentType) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity createGzipped(final File content, final ContentType contentType) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity createGzipped(final Serializable serializable, final ContentType contentType) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity createGzipped(final IOCallback<OutputStream> callback, final ContentType contentType) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity createGzipped(final Path content, final ContentType contentType) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity withTrailers(final HttpEntity entity, final Header... trailers) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(final String content, final ContentType contentType, final Header... trailers) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(final String content, final Charset charset, final Header... trailers) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(final String content, final Header... trailers) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(final byte[] content, final ContentType contentType, final Header... trailers) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(final File content, final ContentType contentType, final Header... trailers) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(
|
|
||||||
final Serializable serializable, final ContentType contentType, final Header... trailers) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(
|
|
||||||
final IOCallback<OutputStream> callback, final ContentType contentType, final Header... trailers) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(final Path content, final ContentType contentType) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static HttpEntity create(final Path content, final ContentType contentType, final Header... trailers) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,83 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.io.entity;
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.io.InputStream;
|
|
||||||
import java.io.OutputStream;
|
|
||||||
import java.nio.charset.Charset;
|
|
||||||
import org.apache.hc.core5.http.ContentType;
|
|
||||||
|
|
||||||
public class StringEntity extends AbstractHttpEntity {
|
|
||||||
public StringEntity(
|
|
||||||
final String string, final ContentType contentType, final String contentEncoding, final boolean chunked) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public StringEntity(final String string, final ContentType contentType, final boolean chunked) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public StringEntity(final String string, final ContentType contentType) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public StringEntity(final String string, final Charset charset) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public StringEntity(final String string, final Charset charset, final boolean chunked) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public StringEntity(final String string) {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final boolean isRepeatable() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final long getContentLength() {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final InputStream getContent() throws IOException {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final void writeTo(final OutputStream outStream) throws IOException {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final boolean isStreaming() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public final void close() throws IOException {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.io.support.ClassicRequestBuilder for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.io.support;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import java.nio.charset.Charset;
|
|
||||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
|
||||||
import org.apache.hc.core5.http.ContentType;
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
import org.apache.hc.core5.http.HttpEntity;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.NameValuePair;
|
|
||||||
import org.apache.hc.core5.http.ProtocolVersion;
|
|
||||||
import org.apache.hc.core5.http.support.AbstractRequestBuilder;
|
|
||||||
import org.apache.hc.core5.net.URIAuthority;
|
|
||||||
|
|
||||||
public class ClassicRequestBuilder extends AbstractRequestBuilder<ClassicHttpRequest>
|
|
||||||
{
|
|
||||||
protected ClassicRequestBuilder() {}
|
|
||||||
protected void digest(ClassicHttpRequest p0){}
|
|
||||||
public ClassicHttpRequest build(){ return null; }
|
|
||||||
public ClassicRequestBuilder addHeader(Header p0){ return null; }
|
|
||||||
public ClassicRequestBuilder addHeader(String p0, String p1){ return null; }
|
|
||||||
public ClassicRequestBuilder addParameter(NameValuePair p0){ return null; }
|
|
||||||
public ClassicRequestBuilder addParameter(String p0, String p1){ return null; }
|
|
||||||
public ClassicRequestBuilder addParameters(NameValuePair... p0){ return null; }
|
|
||||||
public ClassicRequestBuilder removeHeader(Header p0){ return null; }
|
|
||||||
public ClassicRequestBuilder removeHeaders(String p0){ return null; }
|
|
||||||
public ClassicRequestBuilder setAbsoluteRequestUri(boolean p0){ return null; }
|
|
||||||
public ClassicRequestBuilder setAuthority(URIAuthority p0){ return null; }
|
|
||||||
public ClassicRequestBuilder setCharset(Charset p0){ return null; }
|
|
||||||
public ClassicRequestBuilder setEntity(HttpEntity p0){ return null; }
|
|
||||||
public ClassicRequestBuilder setEntity(String p0){ return null; }
|
|
||||||
public ClassicRequestBuilder setEntity(String p0, ContentType p1){ return null; }
|
|
||||||
public ClassicRequestBuilder setEntity(byte[] p0, ContentType p1){ return null; }
|
|
||||||
public ClassicRequestBuilder setHeader(Header p0){ return null; }
|
|
||||||
public ClassicRequestBuilder setHeader(String p0, String p1){ return null; }
|
|
||||||
public ClassicRequestBuilder setHeaders(Header... p0){ return null; }
|
|
||||||
public ClassicRequestBuilder setHttpHost(HttpHost p0){ return null; }
|
|
||||||
public ClassicRequestBuilder setPath(String p0){ return null; }
|
|
||||||
public ClassicRequestBuilder setScheme(String p0){ return null; }
|
|
||||||
public ClassicRequestBuilder setUri(String p0){ return null; }
|
|
||||||
public ClassicRequestBuilder setUri(URI p0){ return null; }
|
|
||||||
public ClassicRequestBuilder setVersion(ProtocolVersion p0){ return null; }
|
|
||||||
public HttpEntity getEntity(){ return null; }
|
|
||||||
public String toString(){ return null; }
|
|
||||||
public static ClassicRequestBuilder copy(ClassicHttpRequest p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder create(String p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder delete(){ return null; }
|
|
||||||
public static ClassicRequestBuilder delete(String p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder delete(URI p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder get(){ return null; }
|
|
||||||
public static ClassicRequestBuilder get(String p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder get(URI p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder head(){ return null; }
|
|
||||||
public static ClassicRequestBuilder head(String p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder head(URI p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder options(){ return null; }
|
|
||||||
public static ClassicRequestBuilder options(String p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder options(URI p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder patch(){ return null; }
|
|
||||||
public static ClassicRequestBuilder patch(String p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder patch(URI p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder post(){ return null; }
|
|
||||||
public static ClassicRequestBuilder post(String p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder post(URI p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder put(){ return null; }
|
|
||||||
public static ClassicRequestBuilder put(String p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder put(URI p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder trace(){ return null; }
|
|
||||||
public static ClassicRequestBuilder trace(String p0){ return null; }
|
|
||||||
public static ClassicRequestBuilder trace(URI p0){ return null; }
|
|
||||||
}
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.message.AbstractMessageWrapper for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.message;
|
|
||||||
|
|
||||||
import java.util.Iterator;
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
import org.apache.hc.core5.http.HttpMessage;
|
|
||||||
import org.apache.hc.core5.http.ProtocolVersion;
|
|
||||||
|
|
||||||
abstract public class AbstractMessageWrapper implements HttpMessage
|
|
||||||
{
|
|
||||||
protected AbstractMessageWrapper() {}
|
|
||||||
public AbstractMessageWrapper(HttpMessage p0){}
|
|
||||||
public Header getFirstHeader(String p0){ return null; }
|
|
||||||
public Header getHeader(String p0){ return null; }
|
|
||||||
public Header getLastHeader(String p0){ return null; }
|
|
||||||
public Header[] getHeaders(){ return null; }
|
|
||||||
public Header[] getHeaders(String p0){ return null; }
|
|
||||||
public Iterator<Header> headerIterator(){ return null; }
|
|
||||||
public Iterator<Header> headerIterator(String p0){ return null; }
|
|
||||||
public ProtocolVersion getVersion(){ return null; }
|
|
||||||
public String toString(){ return null; }
|
|
||||||
public boolean containsHeader(String p0){ return false; }
|
|
||||||
public boolean removeHeader(Header p0){ return false; }
|
|
||||||
public boolean removeHeaders(String p0){ return false; }
|
|
||||||
public int countHeaders(String p0){ return 0; }
|
|
||||||
public void addHeader(Header p0){}
|
|
||||||
public void addHeader(String p0, Object p1){}
|
|
||||||
public void setHeader(Header p0){}
|
|
||||||
public void setHeader(String p0, Object p1){}
|
|
||||||
public void setHeaders(Header... p0){}
|
|
||||||
public void setVersion(ProtocolVersion p0){}
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.message.BasicClassicHttpRequest for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.message;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.core5.http.ClassicHttpRequest;
|
|
||||||
import org.apache.hc.core5.http.HttpEntity;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.Method;
|
|
||||||
import org.apache.hc.core5.http.message.BasicHttpRequest;
|
|
||||||
import org.apache.hc.core5.net.URIAuthority;
|
|
||||||
|
|
||||||
public class BasicClassicHttpRequest extends BasicHttpRequest implements ClassicHttpRequest
|
|
||||||
{
|
|
||||||
protected BasicClassicHttpRequest() {}
|
|
||||||
public BasicClassicHttpRequest(Method p0, HttpHost p1, String p2){}
|
|
||||||
public BasicClassicHttpRequest(Method p0, String p1){}
|
|
||||||
public BasicClassicHttpRequest(Method p0, URI p1){}
|
|
||||||
public BasicClassicHttpRequest(String p0, HttpHost p1, String p2){}
|
|
||||||
public BasicClassicHttpRequest(String p0, String p1){}
|
|
||||||
public BasicClassicHttpRequest(String p0, String p1, URIAuthority p2, String p3){}
|
|
||||||
public BasicClassicHttpRequest(String p0, URI p1){}
|
|
||||||
public HttpEntity getEntity(){ return null; }
|
|
||||||
public void setEntity(HttpEntity p0){}
|
|
||||||
}
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.message;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
|
|
||||||
public class BasicHeader implements Header, Cloneable, Serializable {
|
|
||||||
public BasicHeader(final String name, final Object value) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public BasicHeader(final String name, final Object value, final boolean sensitive) {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getName() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getValue() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isSensitive() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.message.BasicHttpRequest for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.message;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.HttpRequest;
|
|
||||||
import org.apache.hc.core5.http.Method;
|
|
||||||
import org.apache.hc.core5.http.ProtocolVersion;
|
|
||||||
import org.apache.hc.core5.http.message.HeaderGroup;
|
|
||||||
import org.apache.hc.core5.net.URIAuthority;
|
|
||||||
|
|
||||||
public class BasicHttpRequest extends HeaderGroup implements HttpRequest
|
|
||||||
{
|
|
||||||
protected BasicHttpRequest() {}
|
|
||||||
public BasicHttpRequest(Method p0, HttpHost p1, String p2){}
|
|
||||||
public BasicHttpRequest(Method p0, String p1){}
|
|
||||||
public BasicHttpRequest(Method p0, URI p1){}
|
|
||||||
public BasicHttpRequest(String p0, HttpHost p1, String p2){}
|
|
||||||
public BasicHttpRequest(String p0, String p1){}
|
|
||||||
public BasicHttpRequest(String p0, String p1, URIAuthority p2, String p3){}
|
|
||||||
public BasicHttpRequest(String p0, URI p1){}
|
|
||||||
public ProtocolVersion getVersion(){ return null; }
|
|
||||||
public String getMethod(){ return null; }
|
|
||||||
public String getPath(){ return null; }
|
|
||||||
public String getRequestUri(){ return null; }
|
|
||||||
public String getScheme(){ return null; }
|
|
||||||
public String toString(){ return null; }
|
|
||||||
public URI getUri(){ return null; }
|
|
||||||
public URIAuthority getAuthority(){ return null; }
|
|
||||||
public void addHeader(String p0, Object p1){}
|
|
||||||
public void setAbsoluteRequestUri(boolean p0){}
|
|
||||||
public void setAuthority(URIAuthority p0){}
|
|
||||||
public void setHeader(String p0, Object p1){}
|
|
||||||
public void setPath(String p0){}
|
|
||||||
public void setScheme(String p0){}
|
|
||||||
public void setUri(URI p0){}
|
|
||||||
public void setVersion(ProtocolVersion p0){}
|
|
||||||
}
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.message.HeaderGroup for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.message;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.Iterator;
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
import org.apache.hc.core5.http.MessageHeaders;
|
|
||||||
|
|
||||||
public class HeaderGroup implements MessageHeaders, Serializable
|
|
||||||
{
|
|
||||||
public Header getCondensedHeader(String p0){ return null; }
|
|
||||||
public Header getFirstHeader(String p0){ return null; }
|
|
||||||
public Header getHeader(String p0){ return null; }
|
|
||||||
public Header getLastHeader(String p0){ return null; }
|
|
||||||
public HeaderGroup(){}
|
|
||||||
public Header[] getHeaders(){ return null; }
|
|
||||||
public Header[] getHeaders(String p0){ return null; }
|
|
||||||
public Iterator<Header> headerIterator(){ return null; }
|
|
||||||
public Iterator<Header> headerIterator(String p0){ return null; }
|
|
||||||
public String toString(){ return null; }
|
|
||||||
public boolean containsHeader(String p0){ return false; }
|
|
||||||
public boolean removeHeader(Header p0){ return false; }
|
|
||||||
public boolean removeHeaders(Header p0){ return false; }
|
|
||||||
public boolean removeHeaders(String p0){ return false; }
|
|
||||||
public int countHeaders(String p0){ return 0; }
|
|
||||||
public void addHeader(Header p0){}
|
|
||||||
public void clear(){}
|
|
||||||
public void setHeader(Header p0){}
|
|
||||||
public void setHeaders(Header... p0){}
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.message.HttpRequestWrapper for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.message;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import org.apache.hc.core5.http.HttpRequest;
|
|
||||||
import org.apache.hc.core5.http.message.AbstractMessageWrapper;
|
|
||||||
import org.apache.hc.core5.net.URIAuthority;
|
|
||||||
|
|
||||||
public class HttpRequestWrapper extends AbstractMessageWrapper implements HttpRequest
|
|
||||||
{
|
|
||||||
protected HttpRequestWrapper() {}
|
|
||||||
public HttpRequestWrapper(HttpRequest p0){}
|
|
||||||
public String getMethod(){ return null; }
|
|
||||||
public String getPath(){ return null; }
|
|
||||||
public String getRequestUri(){ return null; }
|
|
||||||
public String getScheme(){ return null; }
|
|
||||||
public URI getUri(){ return null; }
|
|
||||||
public URIAuthority getAuthority(){ return null; }
|
|
||||||
public void setAuthority(URIAuthority p0){}
|
|
||||||
public void setPath(String p0){}
|
|
||||||
public void setScheme(String p0){}
|
|
||||||
public void setUri(URI p0){}
|
|
||||||
}
|
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.message;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.HttpRequest;
|
|
||||||
import org.apache.hc.core5.http.ProtocolVersion;
|
|
||||||
|
|
||||||
public final class RequestLine implements Serializable {
|
|
||||||
public RequestLine(final HttpRequest request) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public RequestLine(final String method,
|
|
||||||
final String uri,
|
|
||||||
final ProtocolVersion version) {
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getMethod() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public ProtocolVersion getProtocolVersion() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getUri() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.AsyncClientEndpoint for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
import java.util.concurrent.Future;
|
|
||||||
import org.apache.hc.core5.concurrent.FutureCallback;
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncClientExchangeHandler;
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncPushConsumer;
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncRequestProducer;
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncResponseConsumer;
|
|
||||||
import org.apache.hc.core5.http.nio.HandlerFactory;
|
|
||||||
import org.apache.hc.core5.http.nio.ResourceHolder;
|
|
||||||
import org.apache.hc.core5.http.protocol.HttpContext;
|
|
||||||
|
|
||||||
abstract public class AsyncClientEndpoint
|
|
||||||
{
|
|
||||||
public AsyncClientEndpoint(){}
|
|
||||||
public abstract boolean isConnected();
|
|
||||||
public abstract void execute(AsyncClientExchangeHandler p0, HandlerFactory<AsyncPushConsumer> p1, HttpContext p2);
|
|
||||||
public abstract void releaseAndDiscard();
|
|
||||||
public abstract void releaseAndReuse();
|
|
||||||
public final <T> java.util.concurrent.Future<T> execute(AsyncRequestProducer p0, org.apache.hc.core5.http.nio.AsyncResponseConsumer<T> p1, HandlerFactory<AsyncPushConsumer> p2, HttpContext p3, org.apache.hc.core5.concurrent.FutureCallback<T> p4){ return null; }
|
|
||||||
public final <T> java.util.concurrent.Future<T> execute(AsyncRequestProducer p0, org.apache.hc.core5.http.nio.AsyncResponseConsumer<T> p1, HttpContext p2, org.apache.hc.core5.concurrent.FutureCallback<T> p3){ return null; }
|
|
||||||
public final <T> java.util.concurrent.Future<T> execute(AsyncRequestProducer p0, org.apache.hc.core5.http.nio.AsyncResponseConsumer<T> p1, org.apache.hc.core5.concurrent.FutureCallback<T> p2){ return null; }
|
|
||||||
public void execute(AsyncClientExchangeHandler p0, HttpContext p1){}
|
|
||||||
}
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.AsyncClientExchangeHandler for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.EntityDetails;
|
|
||||||
import org.apache.hc.core5.http.HttpResponse;
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncDataExchangeHandler;
|
|
||||||
import org.apache.hc.core5.http.nio.RequestChannel;
|
|
||||||
import org.apache.hc.core5.http.protocol.HttpContext;
|
|
||||||
|
|
||||||
public interface AsyncClientExchangeHandler extends AsyncDataExchangeHandler
|
|
||||||
{
|
|
||||||
void cancel();
|
|
||||||
void consumeInformation(HttpResponse p0, HttpContext p1);
|
|
||||||
void consumeResponse(HttpResponse p0, EntityDetails p1, HttpContext p2);
|
|
||||||
void produceRequest(RequestChannel p0, HttpContext p1);
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.AsyncDataConsumer for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
import java.nio.ByteBuffer;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
import org.apache.hc.core5.http.nio.CapacityChannel;
|
|
||||||
import org.apache.hc.core5.http.nio.ResourceHolder;
|
|
||||||
|
|
||||||
public interface AsyncDataConsumer extends ResourceHolder
|
|
||||||
{
|
|
||||||
void consume(ByteBuffer p0);
|
|
||||||
void streamEnd(List<? extends Header> p0);
|
|
||||||
void updateCapacity(CapacityChannel p0);
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.AsyncDataExchangeHandler for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncDataConsumer;
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncDataProducer;
|
|
||||||
|
|
||||||
public interface AsyncDataExchangeHandler extends AsyncDataConsumer, AsyncDataProducer
|
|
||||||
{
|
|
||||||
void failed(Exception p0);
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.AsyncDataProducer for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.nio.DataStreamChannel;
|
|
||||||
import org.apache.hc.core5.http.nio.ResourceHolder;
|
|
||||||
|
|
||||||
public interface AsyncDataProducer extends ResourceHolder
|
|
||||||
{
|
|
||||||
int available();
|
|
||||||
void produce(DataStreamChannel p0);
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.AsyncPushConsumer for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.EntityDetails;
|
|
||||||
import org.apache.hc.core5.http.HttpRequest;
|
|
||||||
import org.apache.hc.core5.http.HttpResponse;
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncDataConsumer;
|
|
||||||
import org.apache.hc.core5.http.protocol.HttpContext;
|
|
||||||
|
|
||||||
public interface AsyncPushConsumer extends AsyncDataConsumer
|
|
||||||
{
|
|
||||||
void consumePromise(HttpRequest p0, HttpResponse p1, EntityDetails p2, HttpContext p3);
|
|
||||||
void failed(Exception p0);
|
|
||||||
}
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.AsyncRequestProducer for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncDataProducer;
|
|
||||||
import org.apache.hc.core5.http.nio.RequestChannel;
|
|
||||||
import org.apache.hc.core5.http.protocol.HttpContext;
|
|
||||||
|
|
||||||
public interface AsyncRequestProducer extends AsyncDataProducer
|
|
||||||
{
|
|
||||||
boolean isRepeatable();
|
|
||||||
void failed(Exception p0);
|
|
||||||
void sendRequest(RequestChannel p0, HttpContext p1);
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.AsyncResponseConsumer for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.concurrent.FutureCallback;
|
|
||||||
import org.apache.hc.core5.http.EntityDetails;
|
|
||||||
import org.apache.hc.core5.http.HttpResponse;
|
|
||||||
import org.apache.hc.core5.http.nio.AsyncDataConsumer;
|
|
||||||
import org.apache.hc.core5.http.protocol.HttpContext;
|
|
||||||
|
|
||||||
public interface AsyncResponseConsumer<T> extends AsyncDataConsumer
|
|
||||||
{
|
|
||||||
void consumeResponse(HttpResponse p0, EntityDetails p1, HttpContext p2, org.apache.hc.core5.concurrent.FutureCallback<T> p3);
|
|
||||||
void failed(Exception p0);
|
|
||||||
void informationResponse(HttpResponse p0, HttpContext p1);
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.CapacityChannel for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
|
|
||||||
public interface CapacityChannel
|
|
||||||
{
|
|
||||||
void update(int p0);
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.DataStreamChannel for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
import java.nio.Buffer;
|
|
||||||
import java.nio.ByteBuffer;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
import org.apache.hc.core5.http.nio.StreamChannel;
|
|
||||||
|
|
||||||
public interface DataStreamChannel extends StreamChannel<ByteBuffer>
|
|
||||||
{
|
|
||||||
int write(ByteBuffer p0);
|
|
||||||
void endStream(List<? extends Header> p0);
|
|
||||||
void requestOutput();
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.HandlerFactory for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.HttpRequest;
|
|
||||||
import org.apache.hc.core5.http.nio.ResourceHolder;
|
|
||||||
import org.apache.hc.core5.http.protocol.HttpContext;
|
|
||||||
|
|
||||||
public interface HandlerFactory<T extends ResourceHolder>
|
|
||||||
{
|
|
||||||
T create(HttpRequest p0, HttpContext p1);
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.RequestChannel for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.EntityDetails;
|
|
||||||
import org.apache.hc.core5.http.HttpRequest;
|
|
||||||
import org.apache.hc.core5.http.protocol.HttpContext;
|
|
||||||
|
|
||||||
public interface RequestChannel
|
|
||||||
{
|
|
||||||
void sendRequest(HttpRequest p0, EntityDetails p1, HttpContext p2);
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.ResourceHolder for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
|
|
||||||
public interface ResourceHolder
|
|
||||||
{
|
|
||||||
void releaseResources();
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.StreamChannel for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio;
|
|
||||||
|
|
||||||
import java.nio.Buffer;
|
|
||||||
|
|
||||||
public interface StreamChannel<T extends Buffer>
|
|
||||||
{
|
|
||||||
int write(T p0);
|
|
||||||
void endStream();
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.nio.ssl.TlsStrategy for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.nio.ssl;
|
|
||||||
|
|
||||||
import java.net.SocketAddress;
|
|
||||||
import org.apache.hc.core5.concurrent.FutureCallback;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.net.NamedEndpoint;
|
|
||||||
import org.apache.hc.core5.reactor.ssl.TransportSecurityLayer;
|
|
||||||
import org.apache.hc.core5.util.Timeout;
|
|
||||||
|
|
||||||
public interface TlsStrategy
|
|
||||||
{
|
|
||||||
boolean upgrade(TransportSecurityLayer p0, HttpHost p1, SocketAddress p2, SocketAddress p3, Object p4, Timeout p5);
|
|
||||||
default void upgrade(TransportSecurityLayer p0, NamedEndpoint p1, Object p2, Timeout p3, FutureCallback<TransportSecurityLayer> p4){}
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.protocol.HttpContext for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.protocol;
|
|
||||||
|
|
||||||
import org.apache.hc.core5.http.ProtocolVersion;
|
|
||||||
|
|
||||||
public interface HttpContext
|
|
||||||
{
|
|
||||||
Object getAttribute(String p0);
|
|
||||||
Object removeAttribute(String p0);
|
|
||||||
Object setAttribute(String p0, Object p1);
|
|
||||||
ProtocolVersion getProtocolVersion();
|
|
||||||
static String RESERVED_PREFIX = null;
|
|
||||||
void setProtocolVersion(ProtocolVersion p0);
|
|
||||||
}
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.support.AbstractMessageBuilder for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.support;
|
|
||||||
|
|
||||||
import java.util.Iterator;
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
import org.apache.hc.core5.http.HttpMessage;
|
|
||||||
import org.apache.hc.core5.http.ProtocolVersion;
|
|
||||||
|
|
||||||
abstract public class AbstractMessageBuilder<T>
|
|
||||||
{
|
|
||||||
protected AbstractMessageBuilder(){}
|
|
||||||
protected abstract T build();
|
|
||||||
protected void digest(HttpMessage p0){}
|
|
||||||
public AbstractMessageBuilder<T> addHeader(Header p0){ return null; }
|
|
||||||
public AbstractMessageBuilder<T> addHeader(String p0, String p1){ return null; }
|
|
||||||
public AbstractMessageBuilder<T> removeHeader(Header p0){ return null; }
|
|
||||||
public AbstractMessageBuilder<T> removeHeaders(String p0){ return null; }
|
|
||||||
public AbstractMessageBuilder<T> setHeader(Header p0){ return null; }
|
|
||||||
public AbstractMessageBuilder<T> setHeader(String p0, String p1){ return null; }
|
|
||||||
public AbstractMessageBuilder<T> setHeaders(Header... p0){ return null; }
|
|
||||||
public AbstractMessageBuilder<T> setHeaders(Iterator<Header> p0){ return null; }
|
|
||||||
public AbstractMessageBuilder<T> setVersion(ProtocolVersion p0){ return null; }
|
|
||||||
public Header getFirstHeader(String p0){ return null; }
|
|
||||||
public Header getLastHeader(String p0){ return null; }
|
|
||||||
public Header[] getFirstHeaders(){ return null; }
|
|
||||||
public Header[] getHeaders(){ return null; }
|
|
||||||
public Header[] getHeaders(String p0){ return null; }
|
|
||||||
public ProtocolVersion getVersion(){ return null; }
|
|
||||||
}
|
|
||||||
@@ -1,54 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.http.support.AbstractRequestBuilder for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.http.support;
|
|
||||||
|
|
||||||
import java.net.URI;
|
|
||||||
import java.nio.charset.Charset;
|
|
||||||
import java.util.List;
|
|
||||||
import org.apache.hc.core5.http.Header;
|
|
||||||
import org.apache.hc.core5.http.HttpHost;
|
|
||||||
import org.apache.hc.core5.http.HttpRequest;
|
|
||||||
import org.apache.hc.core5.http.Method;
|
|
||||||
import org.apache.hc.core5.http.NameValuePair;
|
|
||||||
import org.apache.hc.core5.http.ProtocolVersion;
|
|
||||||
import org.apache.hc.core5.http.support.AbstractMessageBuilder;
|
|
||||||
import org.apache.hc.core5.net.URIAuthority;
|
|
||||||
|
|
||||||
abstract public class AbstractRequestBuilder<T> extends AbstractMessageBuilder<T>
|
|
||||||
{
|
|
||||||
protected AbstractRequestBuilder() {}
|
|
||||||
protected AbstractRequestBuilder(Method p0){}
|
|
||||||
protected AbstractRequestBuilder(Method p0, String p1){}
|
|
||||||
protected AbstractRequestBuilder(Method p0, URI p1){}
|
|
||||||
protected AbstractRequestBuilder(String p0){}
|
|
||||||
protected AbstractRequestBuilder(String p0, String p1){}
|
|
||||||
protected AbstractRequestBuilder(String p0, URI p1){}
|
|
||||||
protected void digest(HttpRequest p0){}
|
|
||||||
public AbstractRequestBuilder<T> addHeader(Header p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> addHeader(String p0, String p1){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> addParameter(NameValuePair p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> addParameter(String p0, String p1){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> addParameters(NameValuePair... p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> removeHeader(Header p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> removeHeaders(String p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> setAbsoluteRequestUri(boolean p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> setAuthority(URIAuthority p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> setCharset(Charset p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> setHeader(Header p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> setHeader(String p0, String p1){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> setHeaders(Header... p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> setHttpHost(HttpHost p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> setPath(String p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> setScheme(String p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> setUri(String p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> setUri(URI p0){ return null; }
|
|
||||||
public AbstractRequestBuilder<T> setVersion(ProtocolVersion p0){ return null; }
|
|
||||||
public Charset getCharset(){ return null; }
|
|
||||||
public List<NameValuePair> getParameters(){ return null; }
|
|
||||||
public String getMethod(){ return null; }
|
|
||||||
public String getPath(){ return null; }
|
|
||||||
public String getScheme(){ return null; }
|
|
||||||
public URI getUri(){ return null; }
|
|
||||||
public URIAuthority getAuthority(){ return null; }
|
|
||||||
public boolean isAbsoluteRequestUri(){ return false; }
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.io.CloseMode for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.io;
|
|
||||||
|
|
||||||
|
|
||||||
public enum CloseMode
|
|
||||||
{
|
|
||||||
GRACEFUL, IMMEDIATE;
|
|
||||||
private CloseMode() {}
|
|
||||||
}
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
/*
|
|
||||||
* ====================================================================
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
||||||
* or more contributor license agreements. See the NOTICE file
|
|
||||||
* distributed with this work for additional information
|
|
||||||
* regarding copyright ownership. The ASF licenses this file
|
|
||||||
* to you under the Apache License, Version 2.0 (the
|
|
||||||
* "License"); you may not use this file except in compliance
|
|
||||||
* with the License. You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing,
|
|
||||||
* software distributed under the License is distributed on an
|
|
||||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
* KIND, either express or implied. See the License for the
|
|
||||||
* specific language governing permissions and limitations
|
|
||||||
* under the License.
|
|
||||||
* ====================================================================
|
|
||||||
*
|
|
||||||
* This software consists of voluntary contributions made by many
|
|
||||||
* individuals on behalf of the Apache Software Foundation. For more
|
|
||||||
* information on the Apache Software Foundation, please see
|
|
||||||
* <http://www.apache.org/>.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.apache.hc.core5.io;
|
|
||||||
import java.io.IOException;
|
|
||||||
|
|
||||||
public interface IOCallback<T> {
|
|
||||||
void execute(T object) throws IOException;
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.io.ModalCloseable for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.io;
|
|
||||||
|
|
||||||
import java.io.Closeable;
|
|
||||||
import org.apache.hc.core5.io.CloseMode;
|
|
||||||
|
|
||||||
public interface ModalCloseable extends Closeable
|
|
||||||
{
|
|
||||||
void close(CloseMode p0);
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.net.Host for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.net;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import org.apache.hc.core5.net.NamedEndpoint;
|
|
||||||
|
|
||||||
public class Host implements NamedEndpoint, Serializable
|
|
||||||
{
|
|
||||||
protected Host() {}
|
|
||||||
public Host(String p0, int p1){}
|
|
||||||
public String getHostName(){ return null; }
|
|
||||||
public String toString(){ return null; }
|
|
||||||
public boolean equals(Object p0){ return false; }
|
|
||||||
public int getPort(){ return 0; }
|
|
||||||
public int hashCode(){ return 0; }
|
|
||||||
public static Host create(String p0){ return null; }
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.net.NamedEndpoint for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.net;
|
|
||||||
|
|
||||||
|
|
||||||
public interface NamedEndpoint
|
|
||||||
{
|
|
||||||
String getHostName();
|
|
||||||
int getPort();
|
|
||||||
}
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
// Generated automatically from org.apache.hc.core5.net.URIAuthority for testing purposes
|
|
||||||
|
|
||||||
package org.apache.hc.core5.net;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
import org.apache.hc.core5.net.Host;
|
|
||||||
import org.apache.hc.core5.net.NamedEndpoint;
|
|
||||||
|
|
||||||
public class URIAuthority implements NamedEndpoint, Serializable
|
|
||||||
{
|
|
||||||
protected URIAuthority() {}
|
|
||||||
public String getHostName(){ return null; }
|
|
||||||
public String getUserInfo(){ return null; }
|
|
||||||
public String toString(){ return null; }
|
|
||||||
public URIAuthority(Host p0){}
|
|
||||||
public URIAuthority(NamedEndpoint p0){}
|
|
||||||
public URIAuthority(String p0){}
|
|
||||||
public URIAuthority(String p0, Host p1){}
|
|
||||||
public URIAuthority(String p0, NamedEndpoint p1){}
|
|
||||||
public URIAuthority(String p0, String p1, int p2){}
|
|
||||||
public URIAuthority(String p0, int p1){}
|
|
||||||
public boolean equals(Object p0){ return false; }
|
|
||||||
public int getPort(){ return 0; }
|
|
||||||
public int hashCode(){ return 0; }
|
|
||||||
public static URIAuthority create(String p0){ return null; }
|
|
||||||
}
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user