public interface HttpRequestFactory<T extends HttpRequest>
HttpRequest
objects.Modifier and Type | Method and Description |
---|---|
T |
newHttpRequest(String method,
String uri)
Creates request message with the given request method and request URI.
|
T |
newHttpRequest(String method,
URI uri)
Creates request message with the given request method and request URI.
|
T newHttpRequest(String method, String uri) throws MethodNotSupportedException
method
- the request methoduri
- the request URIMethodNotSupportedException
- if the given method
is not supported.T newHttpRequest(String method, URI uri) throws MethodNotSupportedException
method
- the request methoduri
- the request URIMethodNotSupportedException
- if the given method
is not supported.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.