public class MockV1 extends java.lang.Object implements RestPluginConvertResult, SwaggerFullList
Constructor and Description |
---|
MockV1() |
Modifier and Type | Method and Description |
---|---|
RestServerResponse |
convertResult(RestDefinition rd,
WebClient client,
ContentType type,
java.lang.Object value)
Convert the result
|
java.lang.String[] |
swaggerFullList(Login login,
RestDefinition rd,
Method method,
RestDefinitionVariable v,
java.lang.String[] list) |
public RestServerResponse convertResult(RestDefinition rd, WebClient client, ContentType type, java.lang.Object value) throws java.lang.Exception
RestPluginConvertResult
convertResult
in interface RestPluginConvertResult
rd
- the definitionclient
- the clienttype
- the target typevalue
- the value to be converted.java.lang.Exception
- a serious problem.@CheckReturnValue @Nonnull public java.lang.String[] swaggerFullList(@Nonnull Login login, @Nonnull RestDefinition rd, @Nonnull Method method, @Nonnull RestDefinitionVariable v, @Nonnull java.lang.String[] list) throws java.lang.Exception
swaggerFullList
in interface SwaggerFullList
java.lang.Exception
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.