Package lumis.service.doui.ai
Class DouiAiResource
- java.lang.Object
-
- lumis.service.doui.ai.DouiAiResource
-
@Path("/lumis/service/doui/ai") public class DouiAiResource extends java.lang.Object
REST endpoints used by the DOUI AI service.- Since:
- 16.0.0
- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DouiAiResource.EditRequest
Request body expected ineditText(javax.ws.rs.container.AsyncResponse, lumis.service.doui.ai.DouiAiResource.EditTextRequest)
.static class
DouiAiResource.EditTextRequest
Edit text request.
-
Constructor Summary
Constructors Constructor Description DouiAiResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
editHtml(javax.ws.rs.container.AsyncResponse response, DouiAiResource.EditRequest editRequest)
Returns the given HTML edited following the given instruction.void
editText(javax.ws.rs.container.AsyncResponse response, DouiAiResource.EditTextRequest editRequest)
Returns the text edited following the instructions.
-
-
-
Method Detail
-
editText
@POST @Path("/editText") @Consumes("application/json") @Produces("application/json") public void editText(@Suspended javax.ws.rs.container.AsyncResponse response, DouiAiResource.EditTextRequest editRequest) throws PortalException
Returns the text edited following the instructions.- Parameters:
response
- the asynchronous responseeditRequest
- the request- Throws:
PortalException
- Since:
- 16.0.0
-
editHtml
@POST @Path("/editHtml") @Consumes("application/json") @Produces("application/json") public void editHtml(@Suspended javax.ws.rs.container.AsyncResponse response, DouiAiResource.EditRequest editRequest) throws PortalException
Returns the given HTML edited following the given instruction.- Parameters:
response
- the asynchronous responseeditRequest
- the request- Throws:
PortalException
- Since:
- 16.0.0
-
-