Package com.yahoo.restapi
Class ResourceResponse
java.lang.Object
com.yahoo.container.jdisc.HttpResponse
com.yahoo.restapi.SlimeJsonResponse
com.yahoo.restapi.ResourceResponse
Returns a response containing an array of links to sub-resources
- Author:
- bratseth
-
Field Summary
Fields inherited from class com.yahoo.restapi.SlimeJsonResponse
slimeFields inherited from class com.yahoo.container.jdisc.HttpResponse
DEFAULT_CHARACTER_ENCODING, DEFAULT_MIME_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionResourceResponse(HttpRequest request, String... subResources) ResourceResponse(URI parentUrl, String... subResources) ResourceResponse(URI parentUrl, List<String> subResources) -
Method Summary
Methods inherited from class com.yahoo.restapi.SlimeJsonResponse
getContentType, renderMethods inherited from class com.yahoo.container.jdisc.HttpResponse
complete, getCharacterEncoding, getJdiscResponse, getLogValues, getRequestType, getStatus, headers, maxPendingBytes, populateAccessLogEntry, setRequestType, setStatus
-
Constructor Details
-
ResourceResponse
-
ResourceResponse
-
ResourceResponse
-