Class MessageEndPartImpl
java.lang.Object
io.gatling.http.client.body.multipart.impl.PartImpl
io.gatling.http.client.body.multipart.impl.MessageEndPartImpl
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected io.netty.buffer.ByteBufcomputePostContentBytes(int postContentLength) protected intprotected io.netty.buffer.ByteBufcomputePreContentBytes(int preContentLength) protected intprotected voidcopyContentInto(io.netty.buffer.ByteBuf target) voidcopyInto(io.netty.buffer.ByteBuf target) protected longMethods inherited from class io.gatling.http.client.body.multipart.impl.PartImpl
getState, length, visitContentDispositionHeader
-
Constructor Details
-
MessageEndPartImpl
public MessageEndPartImpl(byte[] boundary)
-
-
Method Details
-
copyInto
public void copyInto(io.netty.buffer.ByteBuf target) -
computePreContentLength
protected int computePreContentLength()- Overrides:
computePreContentLengthin classPartImpl
-
computePreContentBytes
protected io.netty.buffer.ByteBuf computePreContentBytes(int preContentLength) - Overrides:
computePreContentBytesin classPartImpl
-
computePostContentLength
protected int computePostContentLength()- Overrides:
computePostContentLengthin classPartImpl
-
computePostContentBytes
protected io.netty.buffer.ByteBuf computePostContentBytes(int postContentLength) - Overrides:
computePostContentBytesin classPartImpl
-
getContentLength
protected long getContentLength()- Specified by:
getContentLengthin classPartImpl
-
copyContentInto
protected void copyContentInto(io.netty.buffer.ByteBuf target) - Specified by:
copyContentIntoin classPartImpl
-
close
public void close()
-