@@ -98,14 +98,14 @@ default boolean isServerFilter() {
9898 * com.google.protobuf.Any} or a {@link com.google.protobuf.Struct}.
9999 */
100100 ConfigOrError <? extends FilterConfig > parseFilterConfig (
101- Message rawProtoMessage , FilterContext context );
101+ Message rawProtoMessage , FilterConfigParseContext context );
102102
103103 /**
104104 * Parses the per-filter override filter config from raw proto message. The message may be
105105 * either a {@link com.google.protobuf.Any} or a {@link com.google.protobuf.Struct}.
106106 */
107107 ConfigOrError <? extends FilterConfig > parseFilterConfigOverride (
108- Message rawProtoMessage , FilterContext context );
108+ Message rawProtoMessage , FilterConfigParseContext context );
109109 }
110110
111111 /** Uses the FilterConfigs produced above to produce an HTTP filter interceptor for clients. */
@@ -133,13 +133,13 @@ default void close() {}
133133
134134 /** Context carrying dynamic metadata for a filter. */
135135 @ AutoValue
136- abstract static class FilterContext {
136+ abstract static class FilterConfigParseContext {
137137 abstract BootstrapInfo bootstrapInfo ();
138138
139139 abstract ServerInfo serverInfo ();
140140
141141 static Builder builder () {
142- return new AutoValue_Filter_FilterContext .Builder ();
142+ return new AutoValue_Filter_FilterConfigParseContext .Builder ();
143143 }
144144
145145 @ AutoValue .Builder
@@ -148,7 +148,7 @@ abstract static class Builder {
148148
149149 abstract Builder serverInfo (ServerInfo info );
150150
151- abstract FilterContext build ();
151+ abstract FilterConfigParseContext build ();
152152 }
153153 }
154154
0 commit comments