Class DryRunGatewayConnection
- java.lang.Object
-
- com.yahoo.vespa.http.client.core.communication.DryRunGatewayConnection
-
- All Implemented Interfaces:
GatewayConnection
public class DryRunGatewayConnection extends java.lang.Object implements GatewayConnection
Dummy implementation.- Author:
- dybis
-
-
Constructor Summary
Constructors Constructor Description DryRunGatewayConnection(Endpoint endpoint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
connect()
java.io.InputStream
drain()
Endpoint
getEndpoint()
void
handshake()
java.io.InputStream
writeOperations(java.util.List<Document> docs)
-
-
-
Constructor Detail
-
DryRunGatewayConnection
public DryRunGatewayConnection(Endpoint endpoint)
-
-
Method Detail
-
writeOperations
public java.io.InputStream writeOperations(java.util.List<Document> docs) throws ServerResponseException, java.io.IOException
- Specified by:
writeOperations
in interfaceGatewayConnection
- Throws:
ServerResponseException
java.io.IOException
-
drain
public java.io.InputStream drain() throws ServerResponseException, java.io.IOException
- Specified by:
drain
in interfaceGatewayConnection
- Throws:
ServerResponseException
java.io.IOException
-
connect
public boolean connect()
- Specified by:
connect
in interfaceGatewayConnection
-
getEndpoint
public Endpoint getEndpoint()
- Specified by:
getEndpoint
in interfaceGatewayConnection
-
handshake
public void handshake() throws ServerResponseException, java.io.IOException
- Specified by:
handshake
in interfaceGatewayConnection
- Throws:
ServerResponseException
java.io.IOException
-
close
public void close()
- Specified by:
close
in interfaceGatewayConnection
-
-