001package org.syncany.plugins.transfer.oauth; 002 003import io.undertow.server.HttpHandler; 004 005/** 006 * A OAuthTokenInterceptor is an extension of an {@link HttpHandler} which intercepts calls to a callback URL depending 007 * on the queried path. 008 * 009 * <p>See: {@link OAuthTokenInterceptors}</p> 010 * 011 * @author Christian Roth (christian.roth@port17.de) 012 */ 013 014public interface OAuthTokenInterceptor extends HttpHandler { 015 016 /** 017 * Get the path handled by the interceptor. 018 * 019 * @return The path handled by the interceptor. 020 */ 021 String getPathPrefix(); 022 023}