public class ParameterProcessorResult extends Object
| Constructor and Description |
|---|
ParameterProcessorResult() |
| Modifier and Type | Method and Description |
|---|---|
static ParameterProcessorResult |
fromData(Object data)
Use this method if you got a data from parameter.
|
static ParameterProcessorResult |
fromWebResponse(me.geso.webscrew.response.WebResponse response)
Creating parameter processor result from WebResponse object.
|
Object |
getData() |
String |
getMissingParameter() |
me.geso.webscrew.response.WebResponse |
getResponse() |
boolean |
hasData() |
boolean |
hasMissingParameter() |
boolean |
hasResponse()
Return true if the result contains WebResponse object.
|
static ParameterProcessorResult |
missingParameter(String name)
Use this method if you got a data from parameter.
|
public static ParameterProcessorResult fromWebResponse(@NonNull me.geso.webscrew.response.WebResponse response)
response - public static ParameterProcessorResult fromData(@NonNull Object data)
data - public static ParameterProcessorResult missingParameter(@NonNull String name)
name - public boolean hasResponse()
public me.geso.webscrew.response.WebResponse getResponse()
public boolean hasData()
public Object getData()
public boolean hasMissingParameter()
public String getMissingParameter()
Copyright © 2015. All rights reserved.