public class SkillServlet
extends javax.servlet.http.HttpServlet
Simple implementation of a skill in the form of a Java EE servlet. Use this class when coding the skill as a web service.
This class takes care of the JSON serialization / deserialization of the HTTP body and the
invocation of the right method of the provided Skill . It also handles sending back
modified session attributes, user attributes and authentication tokens when needed and handles
exception cases.
| Constructor and Description |
|---|
SkillServlet(Skill skill) |
public SkillServlet(Skill skill)
Copyright © Amazon.com, Inc. or its affiliates. All Rights Reserved.