001package com.pusher.client.util; 002 003import com.pusher.client.Authorizer; 004 005/** 006 * @deprecated Please use {@link com.pusher.client.util.HttpChannelAuthorizer} 007 */ 008@Deprecated 009public class HttpAuthorizer extends HttpChannelAuthorizer implements Authorizer { 010 011 /** 012 * Creates a new authorizer. 013 * 014 * @param endPoint The endpoint to be called when authenticating. 015 */ 016 public HttpAuthorizer(final String endPoint) { 017 super(endPoint); 018 } 019 020 /** 021 * Creates a new authorizer. 022 * 023 * @param endPoint The endpoint to be called when authenticating. 024 * @param connectionFactory a custom connection factory to be used for building the connection 025 */ 026 public HttpAuthorizer(final String endPoint, final ConnectionFactory connectionFactory) { 027 super(endPoint, connectionFactory); 028 } 029}