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 httpCarbonMessage)
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) |
protected static void |
handleError(org.wso2.transport.http.netty.message.HTTPCarbonMessage cMsg,
Throwable throwable) |
static boolean |
shouldDiffer(HttpResource httpResource,
boolean hasFilters) |
protected static HttpService findService(HTTPServicesRegistry servicesRegistry, org.wso2.transport.http.netty.message.HTTPCarbonMessage inboundReqMsg)
protected static void handleError(org.wso2.transport.http.netty.message.HTTPCarbonMessage cMsg,
Throwable throwable)
public static HttpResource findResource(HTTPServicesRegistry servicesRegistry, org.wso2.transport.http.netty.message.HTTPCarbonMessage httpCarbonMessage)
httpCarbonMessage - 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.