@Metadata(label="rest") public class RestOperationResponseMsgDefinition extends Object
Constructor and Description |
---|
RestOperationResponseMsgDefinition() |
RestOperationResponseMsgDefinition(VerbDefinition verb) |
public RestOperationResponseMsgDefinition(VerbDefinition verb)
public RestOperationResponseMsgDefinition()
public String getResponseModel()
public void setResponseModel(String responseModel)
public String getMessage()
public void setMessage(String message)
public List<RestOperationResponseHeaderDefinition> getHeaders()
public void setHeaders(List<RestOperationResponseHeaderDefinition> headers)
public List<RestPropertyDefinition> getExamples()
public void setExamples(List<RestPropertyDefinition> examples)
public RestOperationResponseMsgDefinition code(int code)
public RestOperationResponseMsgDefinition code(String code)
public RestOperationResponseMsgDefinition message(String msg)
public RestOperationResponseMsgDefinition responseModel(Class<?> type)
public RestOperationResponseMsgDefinition example(String key, String example)
public RestOperationResponseHeaderDefinition header(String name)
public RestDefinition endResponseMessage()
Apache Camel