}
}
private ParameterStyle getStyle(OAuthMessage request) {
Object ps = accessor.consumer.getProperty(OAuthClient.PARAMETER_STYLE);
ParameterStyle style = (ps != null) ? Enum.valueOf(ParameterStyle.class, ps.toString())
: (OAuthMessage.POST.equals(request.method) ? ParameterStyle.BODY
: ParameterStyle.QUERY_STRING);
return style;
}