Package com.gatehill.apibms.core.exception

Examples of com.gatehill.apibms.core.exception.MethodNotAllowedException


            }
        }

        LOGGER.trace("Matched {} candidate request definitions by verb for resource: {}", matchedByVerb.size(), endpoint.getUrl());
        if (0 == matchedByVerb.size()) {
            throw new MethodNotAllowedException("Method " + exchange.getRequestMethod() + " not mapped for resource: " + endpoint.getUrl());
        }

        return matchedByVerb;
    }
View Full Code Here

TOP

Related Classes of com.gatehill.apibms.core.exception.MethodNotAllowedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.