public class RoutedRequest<T> extends Object implements org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
HttpRequest
with associated RouteResult
.Constructor and Description |
---|
RoutedRequest(RouteResult<T> result,
org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpRequest request) |
Modifier and Type | Method and 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) |
public RoutedRequest(RouteResult<T> result, org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpRequest request)
public RouteResult<T> getRouteResult()
public org.apache.flink.shaded.netty4.io.netty.handler.codec.http.HttpRequest getRequest()
public String getPath()
public int refCnt()
refCnt
in interface org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
public boolean release()
release
in interface org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
public boolean release(int arg0)
release
in interface org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
public org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted retain()
retain
in interface org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
public org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted retain(int arg0)
retain
in interface org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
public org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted touch()
touch
in interface org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
public org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted touch(Object hint)
touch
in interface org.apache.flink.shaded.netty4.io.netty.util.ReferenceCounted
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.