Package io.gravitee.gateway.api.proxy
Interface ProxyConnection
-
- All Superinterfaces:
WriteStream<Buffer>
public interface ProxyConnection extends WriteStream<Buffer>
- Author:
- David BRASSELY (david.brassely at graviteesource.com), GraviteeSource Team
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default 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 Detail
-
writeCustomFrame
default ProxyConnection writeCustomFrame(HttpFrame frame)
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
default ProxyConnection cancel()
-
cancelHandler
default ProxyConnection cancelHandler(Handler<Void> cancelHandler)
-
exceptionHandler
default ProxyConnection exceptionHandler(Handler<Throwable> exceptionHandler)
-
responseHandler
default ProxyConnection responseHandler(Handler<ProxyResponse> responseHandler)
-
-