| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.webapp | Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements. | 
| org.apache.hadoop.yarn.webapp.example | Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | WebApp. route(String pathSpec,
     Class<? extends Controller> cls) | 
| void | WebApp. route(String pathSpec,
     Class<? extends Controller> cls,
     String action) | 
| void | WebApp. route(WebApp.HTTP method,
     String pathSpec,
     Class<? extends Controller> cls,
     String action)Setup of a webapp serving route. | 
| void | WebApp. routeWithoutDefaultView(String pathSpec,
                       Class<? extends Controller> cls,
                       String action)Setup of a webapp serving route without default views added to the page. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | HelloWorld.Hello | 
| static class  | MyApp.MyController | 
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.