Class CaptchaResource
java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.CaptchaResource
@Path("captcha")
@Consumes({"application/json","application/xml"})
@Produces({"application/json","application/xml"})
@Singleton
public class CaptchaResource
extends Object
-
Constructor Summary
ConstructorDescriptionCaptchaResource
(AdministrationConfigurationAccessor administrationConfigurationAccessor, AdministrationConfigurationPersister administrationConfigurationPersister) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
javax.ws.rs.core.Response
javax.ws.rs.core.Response
setCaptchaConfiguration
(RestCaptchaConfiguration captchaConfiguration)
-
Constructor Details
-
CaptchaResource
@Inject public CaptchaResource(AdministrationConfigurationAccessor administrationConfigurationAccessor, AdministrationConfigurationPersister administrationConfigurationPersister)
-
-
Method Details
-
getByKey
@GET @Path("{key}") public javax.ws.rs.core.Response getByKey(@PathParam("key") String key) throws IllegalAccessException, NoSuchFieldException -
getCaptchaConfiguration
@GET public javax.ws.rs.core.Response getCaptchaConfiguration() -
setCaptchaConfiguration
@POST public javax.ws.rs.core.Response setCaptchaConfiguration(RestCaptchaConfiguration captchaConfiguration)
-