Package http.server

Class TodoItem

java.lang.Object
http.server.TodoItem

public class TodoItem
extends java.lang.Object
An item of the Todo List treated by the POST requests
  • Constructor Summary

    Constructors
    Constructor Description
    TodoItem​(int id, java.lang.String content)  
  • Method Summary

    Modifier and Type Method Description
    void setContent​(java.lang.String content)  
    java.lang.String toHTMLCode()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TodoItem

      public TodoItem​(int id, java.lang.String content)
  • Method Details

    • setContent

      public void setContent​(java.lang.String content)
    • toHTMLCode

      public java.lang.String toHTMLCode()