public class LocalHttpClientRequest extends BufferBridge implements io.vertx.core.http.HttpClientRequest
| 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 |
continueHandler(io.vertx.core.Handler<Void> 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 |
endHandler(io.vertx.core.Handler<Void> endHandler) |
io.vertx.core.http.HttpClientRequest |
exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
String |
getHost() |
String |
getRawMethod() |
io.vertx.core.http.HttpClientRequest |
handler(io.vertx.core.Handler<io.vertx.core.http.HttpClientResponse> handler) |
io.vertx.core.MultiMap |
headers() |
boolean |
isChunked() |
io.vertx.core.http.HttpMethod |
method() |
String |
path() |
io.vertx.core.http.HttpClientRequest |
pause() |
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 |
resume() |
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 |
setFollowRedirects(boolean followRedirects) |
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, setExceptionHandlerpublic 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.HttpClientRequestpublic boolean isChunked()
isChunked in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpMethod method()
method in interface io.vertx.core.http.HttpClientRequestpublic String getRawMethod()
getRawMethod in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpClientRequest setRawMethod(String method)
setRawMethod in interface io.vertx.core.http.HttpClientRequestpublic String absoluteURI()
absoluteURI in interface io.vertx.core.http.HttpClientRequestpublic String uri()
uri in interface io.vertx.core.http.HttpClientRequestpublic String path()
path in interface io.vertx.core.http.HttpClientRequestpublic String query()
query in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpClientRequest setHost(String host)
setHost in interface io.vertx.core.http.HttpClientRequestpublic String getHost()
getHost in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.MultiMap headers()
headers in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpClientRequest putHeader(String name, String value)
putHeader in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpClientRequest putHeader(CharSequence name, CharSequence value)
putHeader in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpClientRequest putHeader(String name, Iterable<String> values)
putHeader in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpClientRequest putHeader(CharSequence name, Iterable<CharSequence> values)
putHeader in interface io.vertx.core.http.HttpClientRequestpublic 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>public io.vertx.core.http.HttpClientRequest write(String chunk)
write in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpClientRequest write(String chunk, String enc)
write in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpClientRequest continueHandler(io.vertx.core.Handler<Void> handler)
continueHandler in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpClientRequest sendHead()
sendHead in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpClientRequest sendHead(io.vertx.core.Handler<io.vertx.core.http.HttpVersion> completionHandler)
sendHead in interface io.vertx.core.http.HttpClientRequestpublic void end(String chunk)
end in interface io.vertx.core.http.HttpClientRequestpublic void end(String chunk, String enc)
end in interface io.vertx.core.http.HttpClientRequestpublic 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>public void end()
end in interface io.vertx.core.http.HttpClientRequestend in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>public io.vertx.core.http.HttpClientRequest setTimeout(long timeoutMs)
setTimeout in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpClientRequest pushHandler(io.vertx.core.Handler<io.vertx.core.http.HttpClientRequest> handler)
pushHandler in interface io.vertx.core.http.HttpClientRequestpublic boolean reset()
reset in interface io.vertx.core.http.HttpClientRequestpublic boolean reset(long code)
reset in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpConnection connection()
connection in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpClientRequest connectionHandler(io.vertx.core.Handler<io.vertx.core.http.HttpConnection> handler)
connectionHandler in interface io.vertx.core.http.HttpClientRequestpublic io.vertx.core.http.HttpClientRequest writeCustomFrame(int type,
int flags,
io.vertx.core.buffer.Buffer payload)
writeCustomFrame in interface io.vertx.core.http.HttpClientRequestpublic 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>public boolean writeQueueFull()
writeQueueFull in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>public 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>public io.vertx.core.http.HttpClientRequest handler(io.vertx.core.Handler<io.vertx.core.http.HttpClientResponse> handler)
handler in interface io.vertx.core.http.HttpClientRequesthandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.http.HttpClientResponse>public io.vertx.core.http.HttpClientRequest pause()
pause in interface io.vertx.core.http.HttpClientRequestpause in interface io.vertx.core.streams.ReadStream<io.vertx.core.http.HttpClientResponse>public io.vertx.core.http.HttpClientRequest resume()
resume in interface io.vertx.core.http.HttpClientRequestresume in interface io.vertx.core.streams.ReadStream<io.vertx.core.http.HttpClientResponse>public io.vertx.core.http.HttpClientRequest endHandler(io.vertx.core.Handler<Void> endHandler)
endHandler in interface io.vertx.core.http.HttpClientRequestendHandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.http.HttpClientResponse>public io.vertx.core.http.HttpClientRequest setFollowRedirects(boolean followRedirects)
setFollowRedirects in interface io.vertx.core.http.HttpClientRequestpublic 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>public void setMethod(io.vertx.core.http.HttpMethod method)
public void setUri(String uri)
Copyright © 2016–2018. All rights reserved.