Package com.klipwallet.app2app.network
Interface INetwork
-
- All Known Implementing Classes:
NetworkImpl
public interface INetwork
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addBody(java.lang.String body)
void
addHeader(java.lang.String key, java.lang.String value)
void
configure()
void
connect()
void
create(java.lang.String url, java.lang.String method)
void
disconnect()
int
getStatusCode()
byte[]
readFully()
-
-
-
Method Detail
-
create
void create(java.lang.String url, java.lang.String method) throws java.io.IOException
- Throws:
java.io.IOException
-
configure
void configure() throws java.io.IOException
- Throws:
java.io.IOException
-
connect
void connect() throws java.io.IOException
- Throws:
java.io.IOException
-
disconnect
void disconnect()
-
addHeader
void addHeader(java.lang.String key, java.lang.String value)
-
addBody
void addBody(java.lang.String body)
-
readFully
byte[] readFully() throws java.io.IOException
- Throws:
java.io.IOException
-
getStatusCode
int getStatusCode()
-
-