public class LocalHttpClientRequest extends BufferBridge implements FastFailHttpClientRequest
msg| Constructor and Description |
|---|
LocalHttpClientRequest(io.vertx.core.http.HttpMethod method,
String uri,
io.vertx.core.Vertx vertx,
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> routingContextHandler,
io.vertx.core.http.HttpServerResponse response) |
| Modifier and Type | Method and Description |
|---|---|
String |
absoluteURI() |
io.vertx.core.http.HttpConnection |
connection() |
io.vertx.core.http.HttpClientRequest |
connectionHandler(io.vertx.core.Handler<io.vertx.core.http.HttpConnection> handler) |
io.vertx.core.http.HttpClientRequest |
drainHandler(io.vertx.core.Handler<Void> handler) |
void |
end() |
void |
end(io.vertx.core.buffer.Buffer chunk) |
void |
end(String chunk) |
void |
end(String chunk,
String enc) |
io.vertx.core.http.HttpClientRequest |
exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
String |
getHost() |
String |
getRawMethod() |
io.vertx.core.MultiMap |
headers() |
boolean |
isChunked() |
io.vertx.core.http.HttpMethod |
method() |
String |
path() |
io.vertx.core.http.HttpClientRequest |
pushHandler(io.vertx.core.Handler<io.vertx.core.http.HttpClientRequest> handler) |
io.vertx.core.http.HttpClientRequest |
putHeader(CharSequence name,
CharSequence value) |
io.vertx.core.http.HttpClientRequest |
putHeader(CharSequence name,
Iterable<CharSequence> values) |
io.vertx.core.http.HttpClientRequest |
putHeader(String name,
Iterable<String> values) |
io.vertx.core.http.HttpClientRequest |
putHeader(String name,
String value) |
String |
query() |
boolean |
reset() |
boolean |
reset(long code) |
io.vertx.core.http.HttpClientRequest |
sendHead() |
io.vertx.core.http.HttpClientRequest |
sendHead(io.vertx.core.Handler<io.vertx.core.http.HttpVersion> completionHandler) |
io.vertx.core.http.HttpClientRequest |
setChunked(boolean chunked) |
io.vertx.core.http.HttpClientRequest |
setHost(String host) |
void |
setMethod(io.vertx.core.http.HttpMethod method) |
io.vertx.core.http.HttpClientRequest |
setRawMethod(String method) |
io.vertx.core.http.HttpClientRequest |
setTimeout(long timeoutMs) |
void |
setUri(String uri) |
io.vertx.core.http.HttpClientRequest |
setWriteQueueMaxSize(int maxSize) |
String |
uri() |
io.vertx.core.http.HttpClientRequest |
write(io.vertx.core.buffer.Buffer chunk) |
io.vertx.core.http.HttpClientRequest |
write(String chunk) |
io.vertx.core.http.HttpClientRequest |
write(String chunk,
String enc) |
io.vertx.core.http.HttpClientRequest |
writeCustomFrame(int type,
int flags,
io.vertx.core.buffer.Buffer payload) |
boolean |
writeQueueFull() |
doEnd, doWrite, pump, setDataHandler, setEndHandler, setExceptionHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontinueHandler, endHandler, fetch, getStreamPriority, handler, pause, resume, setFollowRedirectspublic LocalHttpClientRequest(io.vertx.core.http.HttpMethod method,
String uri,
io.vertx.core.Vertx vertx,
io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> routingContextHandler,
io.vertx.core.http.HttpServerResponse response)
public io.vertx.core.http.HttpClientRequest setChunked(boolean chunked)
setChunked in interface io.vertx.core.http.HttpClientRequestsetChunked in interface FastFailHttpClientRequestpublic boolean isChunked()
isChunked in interface io.vertx.core.http.HttpClientRequestisChunked in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpMethod method()
method in interface io.vertx.core.http.HttpClientRequestmethod in interface FastFailHttpClientRequestpublic String getRawMethod()
getRawMethod in interface io.vertx.core.http.HttpClientRequestgetRawMethod in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest setRawMethod(String method)
setRawMethod in interface io.vertx.core.http.HttpClientRequestsetRawMethod in interface FastFailHttpClientRequestpublic String absoluteURI()
absoluteURI in interface io.vertx.core.http.HttpClientRequestabsoluteURI in interface FastFailHttpClientRequestpublic String uri()
uri in interface io.vertx.core.http.HttpClientRequesturi in interface FastFailHttpClientRequestpublic String path()
path in interface io.vertx.core.http.HttpClientRequestpath in interface FastFailHttpClientRequestpublic String query()
query in interface io.vertx.core.http.HttpClientRequestquery in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest setHost(String host)
setHost in interface io.vertx.core.http.HttpClientRequestsetHost in interface FastFailHttpClientRequestpublic String getHost()
getHost in interface io.vertx.core.http.HttpClientRequestgetHost in interface FastFailHttpClientRequestpublic io.vertx.core.MultiMap headers()
headers in interface io.vertx.core.http.HttpClientRequestheaders in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest putHeader(String name, String value)
putHeader in interface io.vertx.core.http.HttpClientRequestputHeader in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest putHeader(CharSequence name, CharSequence value)
putHeader in interface io.vertx.core.http.HttpClientRequestputHeader in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest putHeader(String name, Iterable<String> values)
putHeader in interface io.vertx.core.http.HttpClientRequestputHeader in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest putHeader(CharSequence name, Iterable<CharSequence> values)
putHeader in interface io.vertx.core.http.HttpClientRequestputHeader in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest write(io.vertx.core.buffer.Buffer chunk)
write in interface io.vertx.core.http.HttpClientRequestwrite in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>write in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest write(String chunk)
write in interface io.vertx.core.http.HttpClientRequestwrite in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest write(String chunk, String enc)
write in interface io.vertx.core.http.HttpClientRequestwrite in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest sendHead()
sendHead in interface io.vertx.core.http.HttpClientRequestsendHead in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest sendHead(io.vertx.core.Handler<io.vertx.core.http.HttpVersion> completionHandler)
sendHead in interface io.vertx.core.http.HttpClientRequestsendHead in interface FastFailHttpClientRequestpublic void end(String chunk)
end in interface io.vertx.core.http.HttpClientRequestend in interface FastFailHttpClientRequestpublic void end(String chunk, String enc)
end in interface io.vertx.core.http.HttpClientRequestend in interface FastFailHttpClientRequestpublic void end(io.vertx.core.buffer.Buffer chunk)
end in interface io.vertx.core.http.HttpClientRequestend in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>end in interface FastFailHttpClientRequestpublic void end()
end in interface io.vertx.core.http.HttpClientRequestend in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>end in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest setTimeout(long timeoutMs)
setTimeout in interface io.vertx.core.http.HttpClientRequestsetTimeout in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest pushHandler(io.vertx.core.Handler<io.vertx.core.http.HttpClientRequest> handler)
pushHandler in interface io.vertx.core.http.HttpClientRequestpushHandler in interface FastFailHttpClientRequestpublic boolean reset()
reset in interface io.vertx.core.http.HttpClientRequestpublic boolean reset(long code)
reset in interface io.vertx.core.http.HttpClientRequestreset in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpConnection connection()
connection in interface io.vertx.core.http.HttpClientRequestconnection in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest connectionHandler(io.vertx.core.Handler<io.vertx.core.http.HttpConnection> handler)
connectionHandler in interface io.vertx.core.http.HttpClientRequestconnectionHandler in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest writeCustomFrame(int type,
int flags,
io.vertx.core.buffer.Buffer payload)
writeCustomFrame in interface io.vertx.core.http.HttpClientRequestwriteCustomFrame in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest setWriteQueueMaxSize(int maxSize)
setWriteQueueMaxSize in interface io.vertx.core.http.HttpClientRequestsetWriteQueueMaxSize in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>setWriteQueueMaxSize in interface FastFailHttpClientRequestpublic boolean writeQueueFull()
writeQueueFull in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>writeQueueFull in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest drainHandler(io.vertx.core.Handler<Void> handler)
drainHandler in interface io.vertx.core.http.HttpClientRequestdrainHandler in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>drainHandler in interface FastFailHttpClientRequestpublic io.vertx.core.http.HttpClientRequest exceptionHandler(io.vertx.core.Handler<Throwable> handler)
exceptionHandler in interface io.vertx.core.http.HttpClientRequestexceptionHandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.http.HttpClientResponse>exceptionHandler in interface io.vertx.core.streams.StreamBaseexceptionHandler in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>exceptionHandler in interface FastFailHttpClientRequestpublic void setMethod(io.vertx.core.http.HttpMethod method)
public void setUri(String uri)
Copyright © 2016–2020. All rights reserved.