Package org.swisspush.gateleen.core.http
Interface FastFailHttpClientRequest
-
- All Superinterfaces:
io.vertx.core.http.HttpClientRequest,io.vertx.core.streams.StreamBase,io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
- All Known Implementing Classes:
LocalHttpClientRequest
public interface FastFailHttpClientRequest extends io.vertx.core.http.HttpClientRequest
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default StringabsoluteURI()default io.vertx.core.http.HttpConnectionconnection()default io.vertx.core.http.HttpClientRequestconnectionHandler(io.vertx.core.Handler<io.vertx.core.http.HttpConnection> handler)default io.vertx.core.http.HttpClientRequestcontinueHandler(io.vertx.core.Handler<Void> handler)default io.vertx.core.http.HttpClientRequestdrainHandler(io.vertx.core.Handler<Void> handler)default voidend(io.vertx.core.buffer.Buffer buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)default voidend(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)default voidend(String s, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)default voidend(String s, String s1, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)default io.vertx.core.http.HttpClientRequestendHandler(io.vertx.core.Handler<Void> endHandler)default io.vertx.core.http.HttpClientRequestexceptionHandler(io.vertx.core.Handler<Throwable> handler)default io.vertx.core.http.HttpClientRequestfetch(long amount)default StringgetHost()default StringgetRawMethod()default io.vertx.core.http.StreamPrioritygetStreamPriority()default io.vertx.core.http.HttpClientRequesthandler(io.vertx.core.Handler<io.vertx.core.http.HttpClientResponse> handler)default io.vertx.core.MultiMapheaders()default booleanisChunked()default io.vertx.core.http.HttpMethodmethod()default Stringpath()default io.vertx.core.http.HttpClientRequestpause()default io.vertx.core.http.HttpClientRequestpushHandler(io.vertx.core.Handler<io.vertx.core.http.HttpClientRequest> handler)default io.vertx.core.http.HttpClientRequestputHeader(CharSequence name, CharSequence value)default io.vertx.core.http.HttpClientRequestputHeader(CharSequence name, Iterable<CharSequence> values)default io.vertx.core.http.HttpClientRequestputHeader(String name, Iterable<String> values)default io.vertx.core.http.HttpClientRequestputHeader(String name, String value)default Stringquery()default booleanreset(long code)default io.vertx.core.http.HttpClientRequestresume()default io.vertx.core.http.HttpClientRequestsetChunked(boolean chunked)default io.vertx.core.http.HttpClientRequestsetFollowRedirects(boolean followRedirects)default io.vertx.core.http.HttpClientRequestsetHost(String host)default io.vertx.core.http.HttpClientRequestsetRawMethod(String method)default io.vertx.core.http.HttpClientRequestsetTimeout(long timeoutMs)default io.vertx.core.http.HttpClientRequestsetWriteQueueMaxSize(int maxSize)default Stringuri()default io.vertx.core.http.HttpClientRequestwriteCustomFrame(int type, int flags, io.vertx.core.buffer.Buffer payload)default booleanwriteQueueFull()-
Methods inherited from interface io.vertx.core.http.HttpClientRequest
connect, connect, end, end, end, end, getMethod, getPort, getURI, reset, reset, response, response, send, send, send, send, send, send, send, send, sendHead, sendHead, setMaxRedirects, setMethod, setPort, setStreamPriority, setURI, streamId, version, write, write, write, write, writeCustomFrame
-
-
-
-
Field Detail
-
msg
static final String msg
- See Also:
- Constant Field Values
-
-
Method Detail
-
exceptionHandler
default io.vertx.core.http.HttpClientRequest exceptionHandler(io.vertx.core.Handler<Throwable> handler)
- Specified by:
exceptionHandlerin interfaceio.vertx.core.http.HttpClientRequest- Specified by:
exceptionHandlerin interfaceio.vertx.core.streams.StreamBase- Specified by:
exceptionHandlerin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
setWriteQueueMaxSize
default io.vertx.core.http.HttpClientRequest setWriteQueueMaxSize(int maxSize)
- Specified by:
setWriteQueueMaxSizein interfaceio.vertx.core.http.HttpClientRequest- Specified by:
setWriteQueueMaxSizein interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
writeQueueFull
default boolean writeQueueFull()
- Specified by:
writeQueueFullin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
drainHandler
default io.vertx.core.http.HttpClientRequest drainHandler(io.vertx.core.Handler<Void> handler)
- Specified by:
drainHandlerin interfaceio.vertx.core.http.HttpClientRequest- Specified by:
drainHandlerin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
handler
default io.vertx.core.http.HttpClientRequest handler(io.vertx.core.Handler<io.vertx.core.http.HttpClientResponse> handler)
-
pause
default io.vertx.core.http.HttpClientRequest pause()
-
resume
default io.vertx.core.http.HttpClientRequest resume()
-
fetch
default io.vertx.core.http.HttpClientRequest fetch(long amount)
-
endHandler
default io.vertx.core.http.HttpClientRequest endHandler(io.vertx.core.Handler<Void> endHandler)
-
setFollowRedirects
default io.vertx.core.http.HttpClientRequest setFollowRedirects(boolean followRedirects)
- Specified by:
setFollowRedirectsin interfaceio.vertx.core.http.HttpClientRequest
-
setChunked
default io.vertx.core.http.HttpClientRequest setChunked(boolean chunked)
- Specified by:
setChunkedin interfaceio.vertx.core.http.HttpClientRequest
-
isChunked
default boolean isChunked()
- Specified by:
isChunkedin interfaceio.vertx.core.http.HttpClientRequest
-
method
default io.vertx.core.http.HttpMethod method()
-
getRawMethod
default String getRawMethod()
-
setRawMethod
default io.vertx.core.http.HttpClientRequest setRawMethod(String method)
-
absoluteURI
default String absoluteURI()
- Specified by:
absoluteURIin interfaceio.vertx.core.http.HttpClientRequest
-
uri
default String uri()
-
path
default String path()
- Specified by:
pathin interfaceio.vertx.core.http.HttpClientRequest
-
query
default String query()
- Specified by:
queryin interfaceio.vertx.core.http.HttpClientRequest
-
setHost
default io.vertx.core.http.HttpClientRequest setHost(String host)
- Specified by:
setHostin interfaceio.vertx.core.http.HttpClientRequest
-
getHost
default String getHost()
- Specified by:
getHostin interfaceio.vertx.core.http.HttpClientRequest
-
headers
default io.vertx.core.MultiMap headers()
- Specified by:
headersin interfaceio.vertx.core.http.HttpClientRequest
-
putHeader
default io.vertx.core.http.HttpClientRequest putHeader(String name, String value)
- Specified by:
putHeaderin interfaceio.vertx.core.http.HttpClientRequest
-
putHeader
default io.vertx.core.http.HttpClientRequest putHeader(CharSequence name, CharSequence value)
- Specified by:
putHeaderin interfaceio.vertx.core.http.HttpClientRequest
-
putHeader
default io.vertx.core.http.HttpClientRequest putHeader(String name, Iterable<String> values)
- Specified by:
putHeaderin interfaceio.vertx.core.http.HttpClientRequest
-
putHeader
default io.vertx.core.http.HttpClientRequest putHeader(CharSequence name, Iterable<CharSequence> values)
- Specified by:
putHeaderin interfaceio.vertx.core.http.HttpClientRequest
-
continueHandler
default io.vertx.core.http.HttpClientRequest continueHandler(io.vertx.core.Handler<Void> handler)
- Specified by:
continueHandlerin interfaceio.vertx.core.http.HttpClientRequest
-
setTimeout
default io.vertx.core.http.HttpClientRequest setTimeout(long timeoutMs)
- Specified by:
setTimeoutin interfaceio.vertx.core.http.HttpClientRequest
-
pushHandler
default io.vertx.core.http.HttpClientRequest pushHandler(io.vertx.core.Handler<io.vertx.core.http.HttpClientRequest> handler)
- Specified by:
pushHandlerin interfaceio.vertx.core.http.HttpClientRequest
-
reset
default boolean reset(long code)
- Specified by:
resetin interfaceio.vertx.core.http.HttpClientRequest
-
connection
default io.vertx.core.http.HttpConnection connection()
- Specified by:
connectionin interfaceio.vertx.core.http.HttpClientRequest
-
connectionHandler
default io.vertx.core.http.HttpClientRequest connectionHandler(io.vertx.core.Handler<io.vertx.core.http.HttpConnection> handler)
-
writeCustomFrame
default io.vertx.core.http.HttpClientRequest writeCustomFrame(int type, int flags, io.vertx.core.buffer.Buffer payload)- Specified by:
writeCustomFramein interfaceio.vertx.core.http.HttpClientRequest
-
getStreamPriority
default io.vertx.core.http.StreamPriority getStreamPriority()
- Specified by:
getStreamPriorityin interfaceio.vertx.core.http.HttpClientRequest
-
end
default void end(String s, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
- Specified by:
endin interfaceio.vertx.core.http.HttpClientRequest
-
end
default void end(String s, String s1, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
- Specified by:
endin interfaceio.vertx.core.http.HttpClientRequest
-
end
default void end(io.vertx.core.buffer.Buffer buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)- Specified by:
endin interfaceio.vertx.core.http.HttpClientRequest- Specified by:
endin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
end
default void end(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
- Specified by:
endin interfaceio.vertx.core.http.HttpClientRequest- Specified by:
endin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
-