Package io.kjson.resource
Class ResourceLoader.RedirectionFilter
-
- All Implemented Interfaces:
-
kotlin.Function,kotlin.Function1
public final class ResourceLoader.RedirectionFilter implements Function1<URLConnection, URLConnection>
-
-
Constructor Summary
Constructors Constructor Description ResourceLoader.RedirectionFilter(StringMatcher fromHostMatcher, Integer fromPort, String toHost, Integer toPort)
-
Method Summary
Modifier and Type Method Description final StringMatchergetFromHostMatcher()final IntegergetFromPort()final StringgetToHost()final IntegergetToPort()URLConnectioninvoke(URLConnection connection)-
-
Method Detail
-
getFromHostMatcher
final StringMatcher getFromHostMatcher()
-
getFromPort
final Integer getFromPort()
-
invoke
URLConnection invoke(URLConnection connection)
-
-
-
-