Constructor and Description |
---|
IvanBinServer() |
IvanBinServer(ExecutorService executor) |
IvanBinServer(okhttp3.OkHttpClient client) |
Modifier and Type | Method and Description |
---|---|
RestRequest<String> |
createPaste(String code)
Creates a new paste
|
RestRequest<IvanBinPaste> |
retrievePaste(String id)
Retrieves the paste with the specified id
|
public IvanBinServer()
public IvanBinServer(ExecutorService executor)
public IvanBinServer(okhttp3.OkHttpClient client)
public RestRequest<String> createPaste(String code)
code
- codepublic RestRequest<IvanBinPaste> retrievePaste(String id)
id
- idCopyright © 2019. All rights reserved.