anonymsean / oauth

Automatically exported from code.google.com/p/oauth
0 stars 0 forks source link

refactor Java OAuthServlet PROBLEM_TO_HTTP_CODE mapping #96

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

The OAuth Java library has a servlet class: net.oauth.server.OAuthServlet

The OAuthServlet class has private static map called 
PROBLEM_TO_HTTP_CODE

Could you extract the mapping from the servlet class and expose the mapping
as a public API?

I want to be able to use the problem-to-http-code mapping in the Restlet
project's OAuth module.

http://restlet.tigris.org/source/browse/restlet/trunk/modules/org.restlet.ext.oa
uth/

Original issue reported on code.google.com by sean%sea...@gtempaccount.com on 30 Mar 2009 at 3:51

GoogleCodeExporter commented 8 years ago
Done in -r944.

Original comment by jmkrist...@gmail.com on 9 Apr 2009 at 4:59

GoogleCodeExporter commented 8 years ago

Original comment by jmkrist...@gmail.com on 9 Apr 2009 at 5:00

GoogleCodeExporter commented 8 years ago
I also moved it into OAuth.Problems in -r946.

Original comment by jmkrist...@gmail.com on 9 Apr 2009 at 5:08