Search in sources :

Example 1 with DecodeTestResponse

use of org.apache.servicecomb.demo.springmvc.decoderesponse.DecodeTestResponse in project java-chassis by ServiceComb.

the class CodeFirstSpringmvc method testDecodeResponseError.

@GetMapping(path = "/testDecodeResponseError")
public DecodeTestResponse testDecodeResponseError() {
    DecodeTestResponse response = new DecodeTestResponse();
    response.setContent("returnOK");
    return response;
}
Also used : DecodeTestResponse(org.apache.servicecomb.demo.springmvc.decoderesponse.DecodeTestResponse) GetMapping(org.springframework.web.bind.annotation.GetMapping)

Aggregations

DecodeTestResponse (org.apache.servicecomb.demo.springmvc.decoderesponse.DecodeTestResponse)1 GetMapping (org.springframework.web.bind.annotation.GetMapping)1