net.commuty.parking.http.Mapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of parking-access-api-client Show documentation
Show all versions of parking-access-api-client Show documentation
This package acts as a client to communicate with the Commuty Parking Access API. It avoids you to deal with HTTP directly and provides you proper data structures to work with the API.
The newest version!
package net.commuty.parking.http;
import java.io.IOException;
import java.io.InputStream;
public interface Mapper {
String write(Object body) throws IOException;
R read(InputStream stream, Class clazz) throws IOException;
Error readError(InputStream stream) throws IOException;
}