Example usage for org.apache.http.impl.client DefaultRedirectStrategy subclass-usage

List of usage examples for org.apache.http.impl.client DefaultRedirectStrategy subclass-usage

Introduction

In this page you can find the example usage for org.apache.http.impl.client DefaultRedirectStrategy subclass-usage.

Usage

From source file com.opentable.jaxrs.ExtraLaxRedirectStrategy.java

class ExtraLaxRedirectStrategy extends DefaultRedirectStrategy {
    @Override
    protected boolean isRedirectable(String method) {
        return true;
    }
}

From source file ua.pp.msk.cliqr.CliQrRedirectStrategy.java

/**
 *
 * @author Maksym Shkolnyi aka maskimko
 */
public class CliQrRedirectStrategy extends DefaultRedirectStrategy {

From source file ua.pp.msk.gradle.http.NexusRedirectStrategy.java

/**
 *
 * @author Maksym Shkolnyi 
 */
public class NexusRedirectStrategy extends DefaultRedirectStrategy {
    private final Logger logger = LoggerFactory.getLogger(NexusRedirectStrategy.class);

From source file com.ibm.og.client.CustomRedirectStrategy.java

/**
 * A redirect strategy which redirects all methods automatically
 * 
 * @since 1.0
 */
public class CustomRedirectStrategy extends DefaultRedirectStrategy {

From source file com.gargoylesoftware.htmlunit.httpclient.HtmlUnitRedirectStrategie.java

/**
 * Customized DefaultRedirectStrategy for HtmlUnit.
 *
 * @author Ronald Brill
 */
public final class HtmlUnitRedirectStrategie extends DefaultRedirectStrategy {

From source file org.esigate.http.RedirectStrategy.java

public class RedirectStrategy extends DefaultRedirectStrategy {
    private static final Logger LOG = LoggerFactory.getLogger(RedirectStrategy.class);

    private static final String LAST_REQUEST = "LAST_REQUEST";

    @Override

From source file com.mgmtp.perfload.core.client.web.http.RedirectAfterPostStrategy.java

/**
 * Custom {@link RedirectStrategy} that not only redirects after HEAD and GET request as the HTTP
 * spec suggests. Browsers automatically redirect after POST as well, which is quite common.
 * PerfLoad should be able to do this as well.
 * 
 * @author rnaegele

From source file org.gradle.internal.resource.transport.http.AlwaysRedirectRedirectStrategy.java

/**
 * A class which makes httpclient follow redirects for all http methods.
 * This has been introduced to overcome a regression caused by switching to apache httpclient as the transport mechanism for publishing (https://issues.gradle.org/browse/GRADLE-3312)
 * The rational for httpclient not following redirects, by default, can be found here: https://issues.apache.org/jira/browse/HTTPCLIENT-860
 */
public class AlwaysRedirectRedirectStrategy extends DefaultRedirectStrategy {

From source file com.github.sardine.impl.SardineRedirectStrategy.java

/**
 * @version $Id:$
 */
public class SardineRedirectStrategy extends DefaultRedirectStrategy {

    @Override

From source file com.openx.oauth.redirect.OpenXRedirectStrategy.java

/**
 *
 * @author keithmiller
 */
public class OpenXRedirectStrategy extends DefaultRedirectStrategy {