001package com.nimbusds.oauth2.sdk.http;
002
003
004/**
005 * HTTP endpoint.
006 *
007 * @author Vladimir Dzhuvinov
008 */
009public interface HTTPEndpoint {
010
011
012        /**
013         * Processes an HTTP request.
014         *
015         * @param httpRequest The HTTP request to process. Must not be
016         *                    {@code null}.
017         *
018         * @return The HTTP response.
019         */
020        public HTTPResponse process(final HTTPRequest httpRequest);
021}