@ApplicationScoped public class DownloadObserver extends Object
| Constructor and Description |
|---|
DownloadObserver() |
| Modifier and Type | Method and Description |
|---|---|
void |
download(MethodExecuted event,
Result result) |
Download |
resolveDownload(Object result) |
public void download(@Observes
MethodExecuted event,
Result result)
throws IOException
IOExceptionpublic Download resolveDownload(Object result) throws IOException
IOExceptionCopyright © 2014 Caelum. All rights reserved.