Package io.gravitee.connector.http
Class AbstractHttpConnection<E extends HttpEndpoint>
- java.lang.Object
-
- io.gravitee.connector.api.AbstractConnection
-
- io.gravitee.connector.http.AbstractHttpConnection<E>
-
- All Implemented Interfaces:
io.gravitee.connector.api.Connection,io.gravitee.gateway.api.stream.WriteStream<io.gravitee.gateway.api.buffer.Buffer>
- Direct Known Subclasses:
HttpConnection,WebSocketConnection
public abstract class AbstractHttpConnection<E extends HttpEndpoint> extends io.gravitee.connector.api.AbstractConnection- Author:
- David BRASSELY (david.brassely at graviteesource.com), GraviteeSource Team
-
-
Constructor Summary
Constructors Constructor Description AbstractHttpConnection(E endpoint)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidconnect(io.vertx.core.http.HttpClient httpClient, int port, String host, String uri, io.gravitee.gateway.api.handler.Handler<Void> connectionHandler, io.gravitee.gateway.api.handler.Handler<Void> tracker)protected voidsendToClient(io.gravitee.connector.api.Response response)-
Methods inherited from class io.gravitee.connector.api.AbstractConnection
cancelHandler, responseHandler
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
endpoint
protected final E extends HttpEndpoint endpoint
-
-
Constructor Detail
-
AbstractHttpConnection
public AbstractHttpConnection(E endpoint)
-
-
Method Detail
-
connect
public abstract void connect(io.vertx.core.http.HttpClient httpClient, int port, String host, String uri, io.gravitee.gateway.api.handler.Handler<Void> connectionHandler, io.gravitee.gateway.api.handler.Handler<Void> tracker)
-
sendToClient
protected void sendToClient(io.gravitee.connector.api.Response response)
-
-