Skip to content

new handler #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/01/z2ui5_cl_launchpad_handler.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

PUBLIC SECTION.

INTERFACES if_http_extension .
INTERFACES if_http_extension.

PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
Expand All @@ -14,12 +15,10 @@

CLASS z2ui5_cl_launchpad_handler IMPLEMENTATION.


METHOD if_http_extension~handle_request.

server->response->set_cdata( z2ui5_cl_http_handler=>main( server->request->get_cdata( ) ) ).
server->response->set_header_field( name = `cache-control` value = `no-cache` ).
server->response->set_status( code = 200 reason = `success` ).
z2ui5_cl_http_handler=>factory( server )->main( ).

Check failure on line 20 in src/01/z2ui5_cl_launchpad_handler.clas.abap

View check run for this annotation

abaplint / abaplint

Method "factory" not found, methodCallChain

https://rules.abaplint.org/check_syntax

ENDMETHOD.

ENDCLASS.