mirror of https://github.com/apache/archiva.git
bad idea to use a path param for location with /
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232616 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
58c30c851d
commit
3474c6f996
|
@ -80,11 +80,11 @@ public interface ManagedRepositoriesService
|
|||
Boolean updateManagedRepository( ManagedRepository managedRepository )
|
||||
throws ArchivaRestServiceException;
|
||||
|
||||
@Path( "fileLocationExists/{fileLocation}" )
|
||||
@Path( "fileLocationExists" )
|
||||
@GET
|
||||
@Produces( { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML, MediaType.TEXT_PLAIN } )
|
||||
@RedbackAuthorization( permissions = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION )
|
||||
Boolean fileLocationExists( @PathParam( "fileLocation" ) String fileLocation )
|
||||
Boolean fileLocationExists( @QueryParam( "fileLocation" ) String fileLocation )
|
||||
throws ArchivaRestServiceException;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue