blob: 670403039e80fb84c15b294909699712b507a3ca [file] [log] [blame]
Andreas Pantelopouloscd339592018-02-23 14:18:00 -08001/*
2 * Copyright 2015-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package org.onosproject.segmentrouting.web;
18
19import org.onlab.rest.AbstractWebApplication;
20
21import java.util.Set;
22
23/**
Charles Chanc7b3c452018-06-19 20:31:57 -070024 * Segment Routing REST API.
Andreas Pantelopouloscd339592018-02-23 14:18:00 -080025 */
26public class SegmentRoutingWebApplication extends AbstractWebApplication {
27 @Override
28 public Set<Class<?>> getClasses() {
Charles Chanc7b3c452018-06-19 20:31:57 -070029 return getClasses(
30 PseudowireWebResource.class,
31 McastWebResource.class,
32 XconnectWebResource.class
33 );
Andreas Pantelopouloscd339592018-02-23 14:18:00 -080034 }
35}