Search in sources :

Example 1 with GetConfigResponse

use of com.zimbra.soap.admin.message.GetConfigResponse in project zm-mailbox by Zimbra.

the class SoapProvisioning method getConfig.

@Override
public Config getConfig(String needAttr) throws ServiceException {
    GetConfigRequest req = new GetConfigRequest();
    Attr attr = new Attr();
    attr.setKey(needAttr);
    req.setAttr(attr);
    GetConfigResponse resp = invokeJaxb(req);
    return new SoapConfig(resp, this);
}
Also used : GetConfigRequest(com.zimbra.soap.admin.message.GetConfigRequest) GetConfigResponse(com.zimbra.soap.admin.message.GetConfigResponse) Attr(com.zimbra.soap.admin.type.Attr)

Aggregations

GetConfigRequest (com.zimbra.soap.admin.message.GetConfigRequest)1 GetConfigResponse (com.zimbra.soap.admin.message.GetConfigResponse)1 Attr (com.zimbra.soap.admin.type.Attr)1