public static final class ResponseMessage.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ResponseMessage.Builder |
code(ResponseStatusCode code) |
ResponseMessage |
create() |
ResponseMessage.Builder |
responseMetaData(Map<String,Object> metaData) |
ResponseMessage.Builder |
result(Object result) |
ResponseMessage.Builder |
statusAttributes(Map<String,Object> attributes) |
ResponseMessage.Builder |
statusMessage(String message) |
public ResponseMessage.Builder code(ResponseStatusCode code)
public ResponseMessage.Builder statusMessage(String message)
public ResponseMessage.Builder statusAttributes(Map<String,Object> attributes)
public ResponseMessage.Builder result(Object result)
public ResponseMessage.Builder responseMetaData(Map<String,Object> metaData)
public ResponseMessage create()
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.