@Contract(threading=IMMUTABLE) public class DefaultHttpRequestFactory extends Object implements HttpRequestFactory
HttpRequest
objects.Modifier and Type | Field and Description |
---|---|
static DefaultHttpRequestFactory |
INSTANCE |
Constructor and Description |
---|
DefaultHttpRequestFactory() |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
newHttpRequest(RequestLine requestline) |
HttpRequest |
newHttpRequest(String method,
String uri) |
public static final DefaultHttpRequestFactory INSTANCE
public HttpRequest newHttpRequest(RequestLine requestline) throws MethodNotSupportedException
newHttpRequest
in interface HttpRequestFactory
MethodNotSupportedException
public HttpRequest newHttpRequest(String method, String uri) throws MethodNotSupportedException
newHttpRequest
in interface HttpRequestFactory
MethodNotSupportedException
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.