Class RoutedRequest<T>
- java.lang.Object
-
- org.apache.flink.runtime.rest.handler.router.RoutedRequest<T>
-
- All Implemented Interfaces:
org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
public class RoutedRequest<T> extends Object implements org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
Class for handlingHttpRequest
with associatedRouteResult
.
-
-
Constructor Summary
Constructors Constructor Description RoutedRequest(RouteResult<T> result, org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPath()
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpRequest
getRequest()
RouteResult<T>
getRouteResult()
int
refCnt()
boolean
release()
boolean
release(int arg0)
org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
retain()
org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
retain(int arg0)
org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
touch()
org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
touch(Object hint)
-
-
-
Constructor Detail
-
RoutedRequest
public RoutedRequest(RouteResult<T> result, org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpRequest request)
-
-
Method Detail
-
getRouteResult
public RouteResult<T> getRouteResult()
-
getRequest
public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpRequest getRequest()
-
getPath
public String getPath()
-
refCnt
public int refCnt()
- Specified by:
refCnt
in interfaceorg.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
-
release
public boolean release()
- Specified by:
release
in interfaceorg.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
-
release
public boolean release(int arg0)
- Specified by:
release
in interfaceorg.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
-
retain
public org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted retain()
- Specified by:
retain
in interfaceorg.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
-
retain
public org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted retain(int arg0)
- Specified by:
retain
in interfaceorg.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
-
touch
public org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted touch()
- Specified by:
touch
in interfaceorg.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
-
touch
public org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted touch(Object hint)
- Specified by:
touch
in interfaceorg.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
-
-