Package com.klipwallet.app2app.network
Class NetworkImpl
- java.lang.Object
-
- com.klipwallet.app2app.network.NetworkImpl
-
-
Constructor Summary
Constructors Constructor Description NetworkImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
public void create(java.lang.String url, java.lang.String method) throws java.io.IOException
-
configure
public void configure() throws java.io.IOException
-
connect
public void connect() throws java.io.IOException
-
disconnect
public void disconnect()
- Specified by:
disconnect
in interfaceINetwork
-
addHeader
public void addHeader(java.lang.String key, java.lang.String value)
-
readFully
public byte[] readFully() throws java.io.IOException
-
getStatusCode
public int getStatusCode()
- Specified by:
getStatusCode
in interfaceINetwork
-
-