Skip to content

Commit

Permalink
Revert to SimpleFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
akolosov-n committed Sep 9, 2024
1 parent 2bda62f commit bcb05ce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public final class CoapServerBuilder {
private int maxQueueSize = 100;
private Filter.SimpleFilter<CoapRequest, CoapResponse> outboundFilter = Filter.identity();
private Filter.SimpleFilter<CoapRequest, CoapResponse> routeFilter = Filter.identity();
private Filter<CoapRequest, CoapResponse, CoapRequest, CoapResponse> inboundRequestFilter = Filter.identity();
private Filter.SimpleFilter<CoapRequest, CoapResponse> inboundRequestFilter = Filter.identity();
private NotificationsReceiver notificationsReceiver = NotificationsReceiver.REJECT_ALL;
private ObservationsStore observationStore = ObservationsStore.ALWAYS_EMPTY;
private RequestTagSupplier requestTagSupplier = RequestTagSupplier.createSequential();
Expand Down Expand Up @@ -120,7 +120,7 @@ public CoapServerBuilder routeFilter(Filter.SimpleFilter<CoapRequest, CoapRespon
return this;
}

public CoapServerBuilder inboundRequestFilter(Filter<CoapRequest, CoapResponse, CoapRequest, CoapResponse> inboundRequestFilter) {
public CoapServerBuilder inboundRequestFilter(Filter.SimpleFilter<CoapRequest, CoapResponse> inboundRequestFilter) {
this.inboundRequestFilter = requireNonNull(inboundRequestFilter);
return this;
}
Expand Down

0 comments on commit bcb05ce

Please sign in to comment.