public class GetAvatar extends java.lang.Object implements RestReadView<AccountResource>
Modifier and Type | Method and Description |
---|---|
Response.Redirect |
apply(AccountResource rsrc)
Process the view operation by reading from the resource.
|
void |
setSize(int s) |
public void setSize(int s)
public Response.Redirect apply(AccountResource rsrc) throws ResourceNotFoundException
RestReadView
apply
in interface RestReadView<AccountResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.ResourceNotFoundException