]> source.dussan.org Git - archiva.git/commit
add an exception Mapper to customize reponse http status and response content
authorOlivier Lamy <olamy@apache.org>
Thu, 10 Nov 2011 10:04:22 +0000 (10:04 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 10 Nov 2011 10:04:22 +0000 (10:04 +0000)
commit3f8665087a5cf455c3db330f249c13bf9a02ce5c
tree698a8e05007762563e33ce95167b855e7374e862
parentd174bd24270726957d3cfac085e931c3db731d6b
add an exception Mapper to customize reponse http status and response content

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1200250 13f79535-47bb-0310-9956-ffa450edef68
archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/ArchivaRestServiceException.java
archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultRepositoriesService.java
archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/RestError.java [new file with mode: 0644]
archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/interceptors/ArchivaRestServiceExceptionMapper.java [new file with mode: 0644]
archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/interceptors/HttpContextThreadLocal.java
archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/resources/META-INF/spring-context.xml
archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/RepositoriesServiceTest.java