Jump to content

File:UML class diagram MVC controller.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia
    Original file (SVG file, nominally 187 × 414 pixels, file size: 7 KB)

    Summary

    Description
    English: UML class diagram of a example controller in MVC architecture
    Date
    Source Own work
    Author Frap

    PlantUML source code:

    @startuml
    abstract class Controller
    {
        + HttpRequest
        + HttpResponse
        + Accepted()
        + BadRequest()
        + Conflict()
        + Created(uri)
        + NoContent()
        + NotFound()
        + Ok(object)
        + Redirect(uri)
    }
    
    class PetController extends Controller
    {
        + Index() <<GET>>
        + Get(id) <<GET>>
        + Put(id, model) <<PUT>>
        + Post(model) <<POST>>
        + Delete(id) <<DELETE>>
    }
    @enduml
    

    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
    The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

    Captions

    UML class diagram of a example controller in MVC architecture

    Items portrayed in this file

    depicts

    9 June 2025

    image/svg+xml

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current00:55, 9 June 2025Thumbnail for version as of 00:55, 9 June 2025187 × 414 (7 KB)FrapUploaded own work with UploadWizard

    The following page uses this file:

    Metadata