public interface StreamingHttpRequestFactory
StreamingHttpRequest
s.Modifier and Type | Method and Description |
---|---|
default StreamingHttpRequest |
connect(java.lang.String requestTarget)
Create a new
HttpRequestMethod.CONNECT request. |
default StreamingHttpRequest |
delete(java.lang.String requestTarget)
Create a new
HttpRequestMethod.DELETE request. |
default StreamingHttpRequest |
get(java.lang.String requestTarget)
Create a new
HttpRequestMethod.GET request. |
default StreamingHttpRequest |
head(java.lang.String requestTarget)
Create a new
HttpRequestMethod.HEAD request. |
StreamingHttpRequest |
newRequest(HttpRequestMethod method,
java.lang.String requestTarget)
Create a new
HttpRequestFactory . |
default StreamingHttpRequest |
options(java.lang.String requestTarget)
Create a new
HttpRequestMethod.OPTIONS request. |
default StreamingHttpRequest |
patch(java.lang.String requestTarget)
Create a new
HttpRequestMethod.PATCH request. |
default StreamingHttpRequest |
post(java.lang.String requestTarget)
Create a new
HttpRequestMethod.POST request. |
default StreamingHttpRequest |
trace(java.lang.String requestTarget)
Create a new
HttpRequestMethod.TRACE request. |
StreamingHttpRequest newRequest(HttpRequestMethod method, java.lang.String requestTarget)
HttpRequestFactory
.method
- The HttpRequestMethod
.requestTarget
- The request target.HttpRequestFactory
.default StreamingHttpRequest get(java.lang.String requestTarget)
HttpRequestMethod.GET
request.requestTarget
- The request target.HttpRequestMethod.GET
request.default StreamingHttpRequest post(java.lang.String requestTarget)
HttpRequestMethod.POST
request.requestTarget
- The request target.HttpRequestMethod.POST
request.default StreamingHttpRequest options(java.lang.String requestTarget)
HttpRequestMethod.OPTIONS
request.requestTarget
- The request target.HttpRequestMethod.OPTIONS
request.default StreamingHttpRequest head(java.lang.String requestTarget)
HttpRequestMethod.HEAD
request.requestTarget
- The request target.HttpRequestMethod.HEAD
request.default StreamingHttpRequest trace(java.lang.String requestTarget)
HttpRequestMethod.TRACE
request.requestTarget
- The request target.HttpRequestMethod.TRACE
request.default StreamingHttpRequest delete(java.lang.String requestTarget)
HttpRequestMethod.DELETE
request.requestTarget
- The request target.HttpRequestMethod.DELETE
request.default StreamingHttpRequest patch(java.lang.String requestTarget)
HttpRequestMethod.PATCH
request.requestTarget
- The request target.HttpRequestMethod.PATCH
request.default StreamingHttpRequest connect(java.lang.String requestTarget)
HttpRequestMethod.CONNECT
request.requestTarget
- The request target.HttpRequestMethod.CONNECT
request.