public class GetRepositoryDto extends AbstractRequest<RepositoryDto>
Constructor and Description |
---|
GetRepositoryDto(String repositoryName) |
Modifier and Type | Method and Description |
---|---|
RepositoryDto |
execute()
Execute the actual request.
|
boolean |
isResultNullable()
Indicates, if the result of the invocation can be
null . |
assertResponseIndicatesSuccess, assignCredentials, createWebTarget, encodePath, getBaseURL, getClientOrFail, getCloudStoreRestClient, getCloudStoreRestClientOrFail, getPath, setCloudStoreRestClient, throwOriginalExceptionIfPossible, urlEncode
public GetRepositoryDto(String repositoryName)
public RepositoryDto execute()
Request
Important: You should never invoke this method directly! Instead, pass the Request
to
CloudStoreRestClient.execute(Request)
.
null
. Depending on
Request.isResultNullable()
a null
result is considered an error and causes an exception.public boolean isResultNullable()
Request
null
.
If the server must send a response, i.e. the invocation must not return empty-handed, this
should be false
. In case, the server still does not send a reply, it is considered an
error causing an exception.
Please note: If a request never returns a response (like a Java void method), it is recommended
that you sub-class VoidRequest
.
true
if null
as response is allowed; false
otherwise.Copyright © 2013–2019. All rights reserved.