Package org.refcodes.net
Interface RedirectDepthAccessor
-
- All Known Subinterfaces:
HttpClientRequest
,HttpClientRequest.HttpClientRequestBuilder
,RedirectDepthAccessor.RedirectDepthProperty
- All Known Implementing Classes:
HttpClientRequestImpl
public interface RedirectDepthAccessor
Provides an accessor for a redirect depth property. The redirect depth provides the count of HTTP-Request and HTTP-Response cycles where the response represents a redirect as ofHttpStatusCode.isRedirectStatus()
. A value of -1 represents the default behavior, e.g. usingHttpURLConnection
's redirection means.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RedirectDepthAccessor.RedirectDepthBuilder<B extends RedirectDepthAccessor.RedirectDepthBuilder<B>>
Provides a builder method for a redirect depth property returning the builder for applying multiple build operations.static interface
RedirectDepthAccessor.RedirectDepthMutator
Provides a mutator for a redirect depth property.static interface
RedirectDepthAccessor.RedirectDepthProperty
Provides a redirect depth property.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getRedirectDepth()
Retrieves the redirect depth from the redirect depth property.
-