com.cumulocity.sdk.client
Class GenericResourceImpl<T extends BaseResourceRepresentation>
java.lang.Object
com.cumulocity.sdk.client.GenericResourceImpl<T>
- All Implemented Interfaces:
- GenericResource<T>
- Direct Known Subclasses:
- PagedCollectionResourceImpl
public abstract class GenericResourceImpl<T extends BaseResourceRepresentation>
- extends Object
- implements GenericResource<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
url
@Deprecated
public final String url
- Deprecated.
restConnector
protected final RestConnector restConnector
GenericResourceImpl
public GenericResourceImpl(RestConnector restConnector,
String url)
getMediaType
protected abstract CumulocityMediaType getMediaType()
getResponseClass
protected abstract Class<T> getResponseClass()
get
public T get()
throws SDKException
- Specified by:
get
in interface GenericResource<T extends BaseResourceRepresentation>
- Throws:
SDKException
Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.