summaryrefslogtreecommitdiff
path: root/web/WEB-INF/restlet.xml
blob: 67ee36d697c0efa55f970e0577a0f0539867ec97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0"?>
<component xmlns="http://www.restlet.org/schemas/2.0/Component">
    <client protocol="FILE" />
    <client protocol="HTTP" />
    <client protocol="HTTPS" />
    <server protocols="HTTP HTTPS" />
 
    <defaultHost>
        <attach uripattern="/images" targetDescriptor="war:///images" />
        <attach uripattern="/scripts" targetDescriptor="war:///scripts" />
        <attach uripattern="/style.css" targetDescriptor="war:///style.css" />
        <attach uripattern="/favicon.ico" targetDescriptor="war:///favicon.ico" />
        <attach uriPattern="" targetClass="com.p4square.grow.frontend.GrowFrontend" />
    </defaultHost>

    <internalRouter>
        <attach uriPattern="/backend"
                targetClass="com.p4square.grow.backend.GrowBackend" />
    </internalRouter>
</component>