Package io.gravitee.gateway.api.proxy
Interface ProxyConnection
- All Superinterfaces:
WriteStream<Buffer>
- Author:
- David BRASSELY (david.brassely at graviteesource.com), GraviteeSource Team
-
Method Summary
Modifier and TypeMethodDescriptiondefault ProxyConnectioncancel()default ProxyConnectioncancelHandler(Handler<Void> cancelHandler) default ProxyConnectionexceptionHandler(Handler<Throwable> exceptionHandler) default ProxyConnectionresponseHandler(Handler<ProxyResponse> responseHandler) default ProxyConnectionwriteCustomFrame(HttpFrame frame) Write custom HTTP Frame to upstream.Methods inherited from interface io.gravitee.gateway.api.stream.WriteStream
drainHandler, end, end, write, writeQueueFull
-
Method Details
-
writeCustomFrame
Write custom HTTP Frame to upstream. //TODO: How-to make this specific to HTTP/2 proxy connection only? // This should be handle when the gateway will be able to manage other connectors- Parameters:
frame-- Returns:
-
cancel
-
cancelHandler
-
exceptionHandler
-
responseHandler
-