public class HttpDispatcher extends Object
HttpDispatcher
is responsible for dispatching incoming http requests to the correct resource.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.
|
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,
Struct endpointConfig) |
static URI |
getValidatedURI(String uriStr) |
static boolean |
shouldDiffer(HttpResource httpResource) |
public 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)
servicesRegistry
- HTTP service registryinboundMessage
- incoming message.public static BValue[] getSignatureParameters(HttpResource httpResource, org.wso2.transport.http.netty.message.HttpCarbonMessage httpCarbonMessage, Struct endpointConfig)
public static boolean shouldDiffer(HttpResource httpResource)
Copyright © 2019 WSO2. All rights reserved.