public class ServiceResponse<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServiceResponse.ResponseType |
Constructor and Description |
---|
ServiceResponse() |
ServiceResponse(ServiceResponse.ResponseType type,
String msg) |
ServiceResponse(ServiceResponse.ResponseType type,
String msg,
T result) |
public ServiceResponse()
public ServiceResponse(ServiceResponse.ResponseType type, String msg)
public ServiceResponse(ServiceResponse.ResponseType type, String msg, T result)
public ServiceResponse.ResponseType getType()
public String getMsg()
public void setType(ServiceResponse.ResponseType type)
public void setMsg(String msg)
public T getResult()
public void setResult(T result)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.