Package io.micronaut.http.util
Class OutgoingHttpRequestProcessorImpl
java.lang.Object
io.micronaut.http.util.OutgoingHttpRequestProcessorImpl
- All Implemented Interfaces:
OutgoingHttpRequestProcessor
@Singleton
public class OutgoingHttpRequestProcessorImpl
extends Object
implements OutgoingHttpRequestProcessor
Implementation of
OutgoingHttpRequestProcessor
.- Since:
- 1.0
- Author:
- Sergio del Amo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldProcessRequest
(OutgoingRequestProcessorMatcher matcher, HttpRequest<?> request) boolean
shouldProcessRequest
(OutgoingRequestProcessorMatcher matcher, String serviceId, String uri)
-
Constructor Details
-
OutgoingHttpRequestProcessorImpl
public OutgoingHttpRequestProcessorImpl()
-
-
Method Details
-
shouldProcessRequest
public boolean shouldProcessRequest(OutgoingRequestProcessorMatcher matcher, HttpRequest<?> request) - Specified by:
shouldProcessRequest
in interfaceOutgoingHttpRequestProcessor
- Parameters:
matcher
- AOutgoingRequestProcessorMatcher
implementation. Entity defining matching rules.request
- The request- Returns:
- true if the request should be processed
-
shouldProcessRequest
public boolean shouldProcessRequest(OutgoingRequestProcessorMatcher matcher, String serviceId, String uri) - Parameters:
matcher
- AOutgoingRequestProcessorMatcher
implementation. Entity defining matching rules.serviceId
- The service iduri
- The URI of the request being processed- Returns:
- true if the request should be processed
-