public class HttpDispatcher extends Object
HttpDispatcher
is responsible for dispatching incoming http requests to the correct resource.Constructor and Description |
---|
HttpDispatcher() |
Modifier and Type | Method and Description |
---|---|
static HttpResource |
findResource(HTTPServicesRegistry servicesRegistry,
org.wso2.transport.http.netty.message.HTTPCarbonMessage inboundMessage)
This method finds the matching resource for the incoming request.
|
protected static HttpService |
findService(HTTPServicesRegistry servicesRegistry,
org.wso2.transport.http.netty.message.HTTPCarbonMessage inboundReqMsg) |
static BValue[] |
getSignatureParameters(HttpResource httpResource,
org.wso2.transport.http.netty.message.HTTPCarbonMessage httpCarbonMessage) |
static boolean |
shouldDiffer(HttpResource httpResource,
boolean hasFilters) |
protected static HttpService findService(HTTPServicesRegistry servicesRegistry, org.wso2.transport.http.netty.message.HTTPCarbonMessage inboundReqMsg)
public static HttpResource findResource(HTTPServicesRegistry servicesRegistry, org.wso2.transport.http.netty.message.HTTPCarbonMessage inboundMessage)
inboundMessage
- incoming message.public static BValue[] getSignatureParameters(HttpResource httpResource, org.wso2.transport.http.netty.message.HTTPCarbonMessage httpCarbonMessage)
public static boolean shouldDiffer(HttpResource httpResource, boolean hasFilters)
Copyright © 2018 WSO2. All rights reserved.