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