1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package io.wcm.handler.url.impl.clientlib;
21
22 import org.apache.commons.lang3.builder.ToStringBuilder;
23
24 import io.wcm.wcm.commons.util.ToStringStyle;
25
26
27
28
29 class ClientlibPathCacheEntry {
30
31 private final String path;
32 private final boolean isClientLibrary;
33 private final boolean isAllowProxy;
34
35 ClientlibPathCacheEntry(String path, boolean isClientLibrary, boolean isAllowProxy) {
36 this.path = path;
37 this.isClientLibrary = isClientLibrary;
38 this.isAllowProxy = isAllowProxy;
39 }
40
41 public String getPath() {
42 return this.path;
43 }
44
45 public boolean isClientLibrary() {
46 return this.isClientLibrary;
47 }
48
49 public boolean isAllowProxy() {
50 return this.isAllowProxy;
51 }
52
53 @Override
54 public String toString() {
55 return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_OMIT_NULL_STYLE);
56 }
57
58 }