public interface HttpRequestFactory<T extends HttpRequest>
HttpRequest objects.| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2023. All rights reserved.