public static final String AUTH_HEADER_NAME = "Authorization";
@Override
public void setAuth(final IBoxRequest request) throws BoxRestException, AuthFatalFailureException {
if (!(request instanceof DefaultBoxRequest)) {
throw new BoxRestException("class does not match, expected:" + DefaultBoxRequest.class.getCanonicalName() + ";current:"
+ request.getClass().getCanonicalName());
}
}