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