public class HttpRawPostRequestDecoder extends Object implements io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
Constructor and Description |
---|
HttpRawPostRequestDecoder(io.netty.handler.codec.http.multipart.HttpData data) |
Modifier and Type | Method and Description |
---|---|
void |
cleanFiles() |
io.netty.handler.codec.http.multipart.InterfaceHttpData |
currentPartialHttpData() |
void |
destroy() |
io.netty.handler.codec.http.multipart.InterfaceHttpData |
getBodyHttpData(String name) |
List<io.netty.handler.codec.http.multipart.InterfaceHttpData> |
getBodyHttpDatas() |
List<io.netty.handler.codec.http.multipart.InterfaceHttpData> |
getBodyHttpDatas(String name) |
int |
getDiscardThreshold() |
boolean |
hasNext() |
boolean |
isMultipart() |
io.netty.handler.codec.http.multipart.InterfaceHttpData |
next() |
io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder |
offer(io.netty.handler.codec.http.HttpContent content) |
void |
removeHttpDataFromClean(io.netty.handler.codec.http.multipart.InterfaceHttpData data) |
void |
setDiscardThreshold(int discardThreshold) |
public HttpRawPostRequestDecoder(io.netty.handler.codec.http.multipart.HttpData data)
public boolean isMultipart()
isMultipart
in interface io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
public void setDiscardThreshold(int discardThreshold)
setDiscardThreshold
in interface io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
public int getDiscardThreshold()
getDiscardThreshold
in interface io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
public List<io.netty.handler.codec.http.multipart.InterfaceHttpData> getBodyHttpDatas()
getBodyHttpDatas
in interface io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
public List<io.netty.handler.codec.http.multipart.InterfaceHttpData> getBodyHttpDatas(String name)
getBodyHttpDatas
in interface io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
public io.netty.handler.codec.http.multipart.InterfaceHttpData getBodyHttpData(String name)
getBodyHttpData
in interface io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
public io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder offer(io.netty.handler.codec.http.HttpContent content)
offer
in interface io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
public boolean hasNext()
hasNext
in interface io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
public io.netty.handler.codec.http.multipart.InterfaceHttpData next()
next
in interface io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
public io.netty.handler.codec.http.multipart.InterfaceHttpData currentPartialHttpData()
currentPartialHttpData
in interface io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
public void destroy()
destroy
in interface io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
public void cleanFiles()
cleanFiles
in interface io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
public void removeHttpDataFromClean(io.netty.handler.codec.http.multipart.InterfaceHttpData data)
removeHttpDataFromClean
in interface io.netty.handler.codec.http.multipart.InterfaceHttpPostRequestDecoder
Copyright © 2019. All rights reserved.