}
@Override
public BoxPreview getPreview(final String fileId, final String extension, final BoxImageRequestObject requestObject) throws BoxRestException,
BoxServerException, AuthFatalFailureException {
GetPreviewRequest request = new GetPreviewRequest(getConfig(), getJSONParser(), fileId, extension, requestObject);
request.setAuth(getAuth());
DefaultBoxResponse response = (DefaultBoxResponse) getRestClient().execute(request);
PreviewResponseParser parser = new PreviewResponseParser();
ErrorResponseParser errorParser = new ErrorResponseParser(getJSONParser());
Object result = response.parseResponse(parser, errorParser);