Class AbstractResponseWrapper
java.lang.Object
io.quarkus.vertx.http.runtime.filters.AbstractResponseWrapper
- All Implemented Interfaces:
io.vertx.core.http.HttpServerResponse,io.vertx.core.streams.StreamBase,io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
- Direct Known Subclasses:
QuarkusRequestWrapper.ResponseWrapper
public class AbstractResponseWrapper
extends Object
implements io.vertx.core.http.HttpServerResponse
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractResponseWrapper(io.vertx.core.http.HttpServerResponse delegate) -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.http.HttpServerResponseaddCookie(io.vertx.core.http.Cookie cookie) io.vertx.core.http.HttpServerResponsebodyEndHandler(io.vertx.core.Handler<Void> handler) longvoidclose()Deprecated.booleanclosed()io.vertx.core.http.HttpServerResponsecloseHandler(io.vertx.core.Handler<Void> handler) io.vertx.core.http.HttpServerResponsedrainHandler(io.vertx.core.Handler<Void> handler) io.vertx.core.Future<Void>end()io.vertx.core.Future<Void>end(io.vertx.core.buffer.Buffer chunk) voidend(io.vertx.core.buffer.Buffer chunk, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) voidio.vertx.core.Future<Void>voidio.vertx.core.Future<Void>voidbooleanended()io.vertx.core.http.HttpServerResponseendHandler(io.vertx.core.Handler<Void> handler) io.vertx.core.http.HttpServerResponseexceptionHandler(io.vertx.core.Handler<Throwable> handler) intio.vertx.core.MultiMapheaders()io.vertx.core.http.HttpServerResponseheadersEndHandler(io.vertx.core.Handler<Void> handler) booleanbooleanio.vertx.core.Future<io.vertx.core.http.HttpServerResponse>push(io.vertx.core.http.HttpMethod method, io.vertx.core.net.HostAndPort authority, String path, io.vertx.core.MultiMap headers) io.vertx.core.Future<io.vertx.core.http.HttpServerResponse>io.vertx.core.http.HttpServerResponsepush(io.vertx.core.http.HttpMethod method, String path, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.HttpServerResponse>> handler) io.vertx.core.Future<io.vertx.core.http.HttpServerResponse>io.vertx.core.http.HttpServerResponsepush(io.vertx.core.http.HttpMethod method, String path, io.vertx.core.MultiMap headers, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.HttpServerResponse>> handler) io.vertx.core.Future<io.vertx.core.http.HttpServerResponse>io.vertx.core.http.HttpServerResponsepush(io.vertx.core.http.HttpMethod method, String host, String path, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.HttpServerResponse>> handler) io.vertx.core.Future<io.vertx.core.http.HttpServerResponse>push(io.vertx.core.http.HttpMethod method, String host, String path, io.vertx.core.MultiMap headers) Deprecated.io.vertx.core.http.HttpServerResponsepush(io.vertx.core.http.HttpMethod method, String host, String path, io.vertx.core.MultiMap headers, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.HttpServerResponse>> handler) io.vertx.core.http.HttpServerResponseputHeader(CharSequence name, CharSequence value) io.vertx.core.http.HttpServerResponseputHeader(CharSequence name, Iterable<CharSequence> values) io.vertx.core.http.HttpServerResponseio.vertx.core.http.HttpServerResponseio.vertx.core.http.HttpServerResponseputTrailer(CharSequence name, CharSequence value) io.vertx.core.http.HttpServerResponseputTrailer(CharSequence name, Iterable<CharSequence> value) io.vertx.core.http.HttpServerResponseputTrailer(String name, Iterable<String> values) io.vertx.core.http.HttpServerResponseputTrailer(String name, String value) io.vertx.core.http.CookieremoveCookie(String name) io.vertx.core.http.CookieremoveCookie(String name, boolean invalidate) io.vertx.core.http.CookieremoveCookie(String name, String domain, String path) io.vertx.core.http.CookieremoveCookie(String name, String domain, String path, boolean invalidate) Set<io.vertx.core.http.Cookie>removeCookies(String name) Set<io.vertx.core.http.Cookie>removeCookies(String name, boolean invalidate) booleanreset()booleanreset(long code) io.vertx.core.Future<Void>send()io.vertx.core.Future<Void>send(io.vertx.core.buffer.Buffer body) voidsend(io.vertx.core.buffer.Buffer body, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) voidio.vertx.core.Future<Void>send(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> body) voidsend(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> body, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) io.vertx.core.Future<Void>voidio.vertx.core.Future<Void>io.vertx.core.Future<Void>io.vertx.core.Future<Void>io.vertx.core.http.HttpServerResponsesendFile(String filename, long offset, long length, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) io.vertx.core.http.HttpServerResponsesendFile(String filename, long offset, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) io.vertx.core.http.HttpServerResponseio.vertx.core.http.HttpServerResponsesetChunked(boolean chunked) io.vertx.core.http.HttpServerResponsesetStatusCode(int statusCode) io.vertx.core.http.HttpServerResponsesetStatusMessage(String statusMessage) io.vertx.core.http.HttpServerResponsesetStreamPriority(io.vertx.core.http.StreamPriority streamPriority) io.vertx.core.http.HttpServerResponsesetWriteQueueMaxSize(int maxSize) intstreamId()io.vertx.core.MultiMaptrailers()io.vertx.core.Future<Void>write(io.vertx.core.buffer.Buffer data) voidwrite(io.vertx.core.buffer.Buffer data, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) io.vertx.core.Future<Void>voidio.vertx.core.Future<Void>voidio.vertx.core.http.HttpServerResponseio.vertx.core.http.HttpServerResponsewriteCustomFrame(int type, int flags, io.vertx.core.buffer.Buffer payload) io.vertx.core.http.HttpServerResponsewriteCustomFrame(io.vertx.core.http.HttpFrame frame) io.vertx.core.Future<Void>writeEarlyHints(io.vertx.core.MultiMap headers) voidwriteEarlyHints(io.vertx.core.MultiMap headers, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertx.core.http.HttpServerResponse
push, push, push
-
Constructor Details
-
AbstractResponseWrapper
protected AbstractResponseWrapper(io.vertx.core.http.HttpServerResponse delegate)
-
-
Method Details
-
exceptionHandler
public io.vertx.core.http.HttpServerResponse exceptionHandler(io.vertx.core.Handler<Throwable> handler) - Specified by:
exceptionHandlerin interfaceio.vertx.core.http.HttpServerResponse- Specified by:
exceptionHandlerin interfaceio.vertx.core.streams.StreamBase- Specified by:
exceptionHandlerin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
write
- Specified by:
writein interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
write
public void write(io.vertx.core.buffer.Buffer data, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) - Specified by:
writein interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
setWriteQueueMaxSize
public io.vertx.core.http.HttpServerResponse setWriteQueueMaxSize(int maxSize) - Specified by:
setWriteQueueMaxSizein interfaceio.vertx.core.http.HttpServerResponse- Specified by:
setWriteQueueMaxSizein interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
drainHandler
- Specified by:
drainHandlerin interfaceio.vertx.core.http.HttpServerResponse- Specified by:
drainHandlerin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
getStatusCode
public int getStatusCode()- Specified by:
getStatusCodein interfaceio.vertx.core.http.HttpServerResponse
-
setStatusCode
public io.vertx.core.http.HttpServerResponse setStatusCode(int statusCode) - Specified by:
setStatusCodein interfaceio.vertx.core.http.HttpServerResponse
-
getStatusMessage
- Specified by:
getStatusMessagein interfaceio.vertx.core.http.HttpServerResponse
-
setStatusMessage
- Specified by:
setStatusMessagein interfaceio.vertx.core.http.HttpServerResponse
-
setChunked
public io.vertx.core.http.HttpServerResponse setChunked(boolean chunked) - Specified by:
setChunkedin interfaceio.vertx.core.http.HttpServerResponse
-
isChunked
public boolean isChunked()- Specified by:
isChunkedin interfaceio.vertx.core.http.HttpServerResponse
-
headers
public io.vertx.core.MultiMap headers()- Specified by:
headersin interfaceio.vertx.core.http.HttpServerResponse
-
putHeader
- Specified by:
putHeaderin interfaceio.vertx.core.http.HttpServerResponse
-
putHeader
- Specified by:
putHeaderin interfaceio.vertx.core.http.HttpServerResponse
-
putHeader
- Specified by:
putHeaderin interfaceio.vertx.core.http.HttpServerResponse
-
putHeader
public io.vertx.core.http.HttpServerResponse putHeader(CharSequence name, Iterable<CharSequence> values) - Specified by:
putHeaderin interfaceio.vertx.core.http.HttpServerResponse
-
trailers
public io.vertx.core.MultiMap trailers()- Specified by:
trailersin interfaceio.vertx.core.http.HttpServerResponse
-
putTrailer
- Specified by:
putTrailerin interfaceio.vertx.core.http.HttpServerResponse
-
putTrailer
- Specified by:
putTrailerin interfaceio.vertx.core.http.HttpServerResponse
-
putTrailer
- Specified by:
putTrailerin interfaceio.vertx.core.http.HttpServerResponse
-
putTrailer
public io.vertx.core.http.HttpServerResponse putTrailer(CharSequence name, Iterable<CharSequence> value) - Specified by:
putTrailerin interfaceio.vertx.core.http.HttpServerResponse
-
closeHandler
- Specified by:
closeHandlerin interfaceio.vertx.core.http.HttpServerResponse
-
endHandler
- Specified by:
endHandlerin interfaceio.vertx.core.http.HttpServerResponse
-
write
- Specified by:
writein interfaceio.vertx.core.http.HttpServerResponse
-
write
public void write(String chunk, String enc, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) - Specified by:
writein interfaceio.vertx.core.http.HttpServerResponse
-
write
- Specified by:
writein interfaceio.vertx.core.http.HttpServerResponse
-
write
- Specified by:
writein interfaceio.vertx.core.http.HttpServerResponse
-
writeContinue
public io.vertx.core.http.HttpServerResponse writeContinue()- Specified by:
writeContinuein interfaceio.vertx.core.http.HttpServerResponse
-
writeEarlyHints
- Specified by:
writeEarlyHintsin interfaceio.vertx.core.http.HttpServerResponse
-
writeEarlyHints
public void writeEarlyHints(io.vertx.core.MultiMap headers, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) - Specified by:
writeEarlyHintsin interfaceio.vertx.core.http.HttpServerResponse
-
end
- Specified by:
endin interfaceio.vertx.core.http.HttpServerResponse
-
end
- Specified by:
endin interfaceio.vertx.core.http.HttpServerResponse
-
end
- Specified by:
endin interfaceio.vertx.core.http.HttpServerResponse
-
end
public void end(String chunk, String enc, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) - Specified by:
endin interfaceio.vertx.core.http.HttpServerResponse
-
end
- Specified by:
endin interfaceio.vertx.core.http.HttpServerResponse- Specified by:
endin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
end
public void end(io.vertx.core.buffer.Buffer chunk, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) - Specified by:
endin interfaceio.vertx.core.http.HttpServerResponse- Specified by:
endin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
end
- Specified by:
endin interfaceio.vertx.core.http.HttpServerResponse- Specified by:
endin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
send
- Specified by:
sendin interfaceio.vertx.core.http.HttpServerResponse
-
send
- Specified by:
sendin interfaceio.vertx.core.http.HttpServerResponse
-
send
- Specified by:
sendin interfaceio.vertx.core.http.HttpServerResponse
-
send
- Specified by:
sendin interfaceio.vertx.core.http.HttpServerResponse
-
send
public void send(io.vertx.core.buffer.Buffer body, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) - Specified by:
sendin interfaceio.vertx.core.http.HttpServerResponse
-
send
- Specified by:
sendin interfaceio.vertx.core.http.HttpServerResponse
-
send
public void send(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> body, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler) - Specified by:
sendin interfaceio.vertx.core.http.HttpServerResponse
-
send
public io.vertx.core.Future<Void> send(io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> body) - Specified by:
sendin interfaceio.vertx.core.http.HttpServerResponse
-
sendFile
- Specified by:
sendFilein interfaceio.vertx.core.http.HttpServerResponse
-
sendFile
- Specified by:
sendFilein interfaceio.vertx.core.http.HttpServerResponse
-
sendFile
- Specified by:
sendFilein interfaceio.vertx.core.http.HttpServerResponse
-
sendFile
public io.vertx.core.http.HttpServerResponse sendFile(String filename, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) - Specified by:
sendFilein interfaceio.vertx.core.http.HttpServerResponse
-
sendFile
public io.vertx.core.http.HttpServerResponse sendFile(String filename, long offset, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) - Specified by:
sendFilein interfaceio.vertx.core.http.HttpServerResponse
-
sendFile
public io.vertx.core.http.HttpServerResponse sendFile(String filename, long offset, long length, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler) - Specified by:
sendFilein interfaceio.vertx.core.http.HttpServerResponse
-
close
Deprecated.- Specified by:
closein interfaceio.vertx.core.http.HttpServerResponse
-
ended
public boolean ended()- Specified by:
endedin interfaceio.vertx.core.http.HttpServerResponse
-
closed
public boolean closed()- Specified by:
closedin interfaceio.vertx.core.http.HttpServerResponse
-
headWritten
public boolean headWritten()- Specified by:
headWrittenin interfaceio.vertx.core.http.HttpServerResponse
-
headersEndHandler
- Specified by:
headersEndHandlerin interfaceio.vertx.core.http.HttpServerResponse
-
bodyEndHandler
- Specified by:
bodyEndHandlerin interfaceio.vertx.core.http.HttpServerResponse
-
bytesWritten
public long bytesWritten()- Specified by:
bytesWrittenin interfaceio.vertx.core.http.HttpServerResponse
-
streamId
public int streamId()- Specified by:
streamIdin interfaceio.vertx.core.http.HttpServerResponse
-
push
public io.vertx.core.http.HttpServerResponse push(io.vertx.core.http.HttpMethod method, String host, String path, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.HttpServerResponse>> handler) - Specified by:
pushin interfaceio.vertx.core.http.HttpServerResponse
-
push
public io.vertx.core.Future<io.vertx.core.http.HttpServerResponse> push(io.vertx.core.http.HttpMethod method, String host, String path) - Specified by:
pushin interfaceio.vertx.core.http.HttpServerResponse
-
push
public io.vertx.core.http.HttpServerResponse push(io.vertx.core.http.HttpMethod method, String path, io.vertx.core.MultiMap headers, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.HttpServerResponse>> handler) - Specified by:
pushin interfaceio.vertx.core.http.HttpServerResponse
-
push
public io.vertx.core.Future<io.vertx.core.http.HttpServerResponse> push(io.vertx.core.http.HttpMethod method, String path, io.vertx.core.MultiMap headers) - Specified by:
pushin interfaceio.vertx.core.http.HttpServerResponse
-
push
public io.vertx.core.http.HttpServerResponse push(io.vertx.core.http.HttpMethod method, String path, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.HttpServerResponse>> handler) - Specified by:
pushin interfaceio.vertx.core.http.HttpServerResponse
-
push
public io.vertx.core.Future<io.vertx.core.http.HttpServerResponse> push(io.vertx.core.http.HttpMethod method, String path) - Specified by:
pushin interfaceio.vertx.core.http.HttpServerResponse
-
push
public io.vertx.core.http.HttpServerResponse push(io.vertx.core.http.HttpMethod method, String host, String path, io.vertx.core.MultiMap headers, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.HttpServerResponse>> handler) - Specified by:
pushin interfaceio.vertx.core.http.HttpServerResponse
-
push
@Deprecated public io.vertx.core.Future<io.vertx.core.http.HttpServerResponse> push(io.vertx.core.http.HttpMethod method, String host, String path, io.vertx.core.MultiMap headers) Deprecated.- Specified by:
pushin interfaceio.vertx.core.http.HttpServerResponse
-
push
public io.vertx.core.Future<io.vertx.core.http.HttpServerResponse> push(io.vertx.core.http.HttpMethod method, io.vertx.core.net.HostAndPort authority, String path, io.vertx.core.MultiMap headers) - Specified by:
pushin interfaceio.vertx.core.http.HttpServerResponse
-
reset
public boolean reset()- Specified by:
resetin interfaceio.vertx.core.http.HttpServerResponse
-
reset
public boolean reset(long code) - Specified by:
resetin interfaceio.vertx.core.http.HttpServerResponse
-
writeCustomFrame
public io.vertx.core.http.HttpServerResponse writeCustomFrame(int type, int flags, io.vertx.core.buffer.Buffer payload) - Specified by:
writeCustomFramein interfaceio.vertx.core.http.HttpServerResponse
-
writeCustomFrame
public io.vertx.core.http.HttpServerResponse writeCustomFrame(io.vertx.core.http.HttpFrame frame) - Specified by:
writeCustomFramein interfaceio.vertx.core.http.HttpServerResponse
-
setStreamPriority
public io.vertx.core.http.HttpServerResponse setStreamPriority(io.vertx.core.http.StreamPriority streamPriority) - Specified by:
setStreamPriorityin interfaceio.vertx.core.http.HttpServerResponse
-
addCookie
public io.vertx.core.http.HttpServerResponse addCookie(io.vertx.core.http.Cookie cookie) - Specified by:
addCookiein interfaceio.vertx.core.http.HttpServerResponse
-
removeCookie
- Specified by:
removeCookiein interfaceio.vertx.core.http.HttpServerResponse
-
removeCookie
- Specified by:
removeCookiein interfaceio.vertx.core.http.HttpServerResponse
-
removeCookies
- Specified by:
removeCookiesin interfaceio.vertx.core.http.HttpServerResponse
-
removeCookies
- Specified by:
removeCookiesin interfaceio.vertx.core.http.HttpServerResponse
-
removeCookie
- Specified by:
removeCookiein interfaceio.vertx.core.http.HttpServerResponse
-
removeCookie
public io.vertx.core.http.Cookie removeCookie(String name, String domain, String path, boolean invalidate) - Specified by:
removeCookiein interfaceio.vertx.core.http.HttpServerResponse
-
end
- Specified by:
endin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-
writeQueueFull
public boolean writeQueueFull()- Specified by:
writeQueueFullin interfaceio.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
-