Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: JoshiCodes/WebAPI
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2
Choose a base ref
...
head repository: JoshiCodes/WebAPI
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.3
Choose a head ref
  • 13 commits
  • 14 files changed
  • 1 contributor

Commits on Mar 14, 2023

  1. Made Webserver#handleRoute only check for the right method, if at lea…

    …st one method is set.
    
    If none is set, allow everything.
    Joshua
    Joshua committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    149e2e6 View commit details
    Browse the repository at this point in the history
  2. Added a bit of documentation

    Joshua
    Joshua committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    4ad797a View commit details
    Browse the repository at this point in the history
  3. Added a bit of documentation (2)

    Joshua
    Joshua committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    1745e6c View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. changed Route from abstract class to interface

    Joshua
    Joshua committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    64d2275 View commit details
    Browse the repository at this point in the history
  2. changed the ErrorRoute implementation

    Joshua
    Joshua committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    7a09383 View commit details
    Browse the repository at this point in the history
  3. small update for #2

    Added RequestData#getUriParts
    Added Router#search
    Renamed Webserver#handleRoute to Webserver#serve
    Implemented the new Features in Webserver#serve
    Joshua
    Joshua committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    2feaec5 View commit details
    Browse the repository at this point in the history
  4. made some changes to routes

    Deleted the ErrorRoute, WebserverBuilder#addErrorHandler now requires a normal Route.
    Modified the javadoc for RequestData#getUriParts
    Made Webserver use an own Logger Instance
    Routes that not exists, are now redirected to the "/" route of the router. (Currently only works for the defaultRouter)
    
    Added a short paragraph about error Handling to the README.md
    Joshua
    Joshua committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    f22cbc7 View commit details
    Browse the repository at this point in the history
  5. made a small change to the README.md

    Joshua
    Joshua committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    929442c View commit details
    Browse the repository at this point in the history
  6. added an example

    Joshua
    Joshua committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    a53916a View commit details
    Browse the repository at this point in the history
  7. Split the Example.java File into Example.java, ErrorExample.java and …

    …AuthenticationExample.java
    Joshua
    Joshua committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    cd2eceb View commit details
    Browse the repository at this point in the history
  8. updated the pom.xml

    Joshua
    Joshua committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    acb772f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    63d81cd View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a323057 View commit details
    Browse the repository at this point in the history
Loading