public final class ResponseBuilder extends Object
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.StreamingOutput |
buildDOMResponse(List<String> availableResources)
Builds a DOM response.
|
static javax.ws.rs.core.StreamingOutput |
createStream(Document doc)
Creates an output stream from the specified document.
|
public static javax.ws.rs.core.StreamingOutput buildDOMResponse(List<String> availableResources)
availableResources
- list of resources to include in the outputpublic static javax.ws.rs.core.StreamingOutput createStream(Document doc)
doc
- document inputCopyright © 2013. All Rights Reserved.