Package com.c8db.internal.http
Class HttpProtocol
- java.lang.Object
-
- com.c8db.internal.http.HttpProtocol
-
- All Implemented Interfaces:
CommunicationProtocol,Closeable,AutoCloseable
public class HttpProtocol extends Object implements CommunicationProtocol
-
-
Constructor Summary
Constructors Constructor Description HttpProtocol(HttpCommunication httpCommunitaction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Responseexecute(Request request, HostHandle hostHandle)
-
-
-
Constructor Detail
-
HttpProtocol
public HttpProtocol(HttpCommunication httpCommunitaction)
-
-
Method Detail
-
execute
public Response execute(Request request, HostHandle hostHandle) throws C8DBException
- Specified by:
executein interfaceCommunicationProtocol- Throws:
C8DBException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-