T - the actual response payloadpublic class ResWrap<T> extends Object
| Constructor and Description | 
|---|
| ResWrap(URI contextURL,
       String metadataETag,
       T payload)Creates a new response payload wrapper | 
| Modifier and Type | Method and Description | 
|---|---|
| URI | getContextURL()The context URL describes the content of the payload. | 
| String | getMetadataETag()An ETag header MAY also be returned on a metadata document request or service document request to allow the client
 subsequently to make a conditional request for the metadata or service document. | 
| T | getPayload()Gets contained object. | 
public URI getContextURL()
public String getMetadataETag()
public T getPayload()
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.