Pomona.RequestProcessing.HandlerMethod.MatchCollectionNodeRequest C# (CSharp) Method

MatchCollectionNodeRequest() private method

private MatchCollectionNodeRequest ( HttpMethod method, ResourceType resourceType ) : RouteAction
method HttpMethod
resourceType Pomona.Common.TypeSystem.ResourceType
return Pomona.Routing.RouteAction
        private RouteAction MatchCollectionNodeRequest(HttpMethod method, ResourceType resourceType)
        {
            switch (method)
            {
                case HttpMethod.Post:
                    return NameStartsWith(method) ? MatchMethodTakingForm(resourceType) : null;
                case HttpMethod.Get:
                    return MatchMethodReturningQueryable(resourceType);
            }
            return null;
        }