T - the type of the result of the commandD - class which will serialized as JSON command body, most likely a templatepublic abstract class CreateCommandImpl<T,D> extends CommandImpl<T> implements DraftBasedCreateCommand<T,D>
| Constructor and Description |
|---|
CreateCommandImpl(D draft,
String path,
com.fasterxml.jackson.databind.JavaType javaType) |
| Modifier and Type | Method and Description |
|---|---|
D |
getDraft() |
protected String |
httpBody() |
protected HttpMethod |
httpMethod() |
HttpRequestIntent |
httpRequestIntent()
Provides an http request intent, this does not include the execution of it.
|
protected com.fasterxml.jackson.databind.JavaType |
jacksonJavaType() |
deserializeclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanDeserialize, deserializepublic HttpRequestIntent httpRequestIntent()
SphereRequesthttpRequestIntent in interface SphereRequest<T>protected HttpMethod httpMethod()
protected String httpBody()
protected com.fasterxml.jackson.databind.JavaType jacksonJavaType()
jacksonJavaType in class CommandImpl<T>public D getDraft()
getDraft in interface DraftBasedCreateCommand<T,D>