@Data public class GeneratorResult extends java.lang.Object implements IUnwrappableServiceResult
| Constructor and Description |
|---|
GeneratorResult(java.lang.String name,
java.lang.String contentType,
java.lang.String content) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContent()
The actual content to write into the request response.
|
java.lang.String |
getContentType()
The content type of the text content.
|
java.lang.String |
getName() |
int |
hashCode() |
java.lang.String |
toString() |
public GeneratorResult(java.lang.String name,
java.lang.String contentType,
java.lang.String content)
@Pure public int hashCode()
hashCode in class java.lang.Object@Pure public boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Pure public java.lang.String toString()
toString in class java.lang.Object@Pure public java.lang.String getName()
@Pure public java.lang.String getContentType()
IUnwrappableServiceResultgetContentType in interface IUnwrappableServiceResult@Pure public java.lang.String getContent()
IUnwrappableServiceResultgetContent in interface IUnwrappableServiceResult