Annotation[] anns,
MediaType mt, MultivaluedMap<String, Object> headers, OutputStream os)
throws IOException, WebApplicationException {
Form form = new Form(new MetadataMap<String, String>());
form.param(OAuth.OAUTH_VERIFIER, obj.getVerifier());
form.param(OAuth.OAUTH_TOKEN, obj.getRequestToken());
if (obj.getState() != null) {
form.param(OAuthConstants.X_OAUTH_STATE, obj.getState());
}
formProvider.writeTo(form, Form.class, Form.class, anns, mt, headers, os);