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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected io.netty.buffer.ByteBuf
computePostContentBytes
(int postContentLength) protected int
protected io.netty.buffer.ByteBuf
computePreContentBytes
(int preContentLength) protected int
protected void
copyContentInto
(io.netty.buffer.ByteBuf target) void
copyInto
(io.netty.buffer.ByteBuf target) protected long
Methods 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:
computePreContentLength
in classPartImpl
-
computePreContentBytes
protected io.netty.buffer.ByteBuf computePreContentBytes(int preContentLength) - Overrides:
computePreContentBytes
in classPartImpl
-
computePostContentLength
protected int computePostContentLength()- Overrides:
computePostContentLength
in classPartImpl
-
computePostContentBytes
protected io.netty.buffer.ByteBuf computePostContentBytes(int postContentLength) - Overrides:
computePostContentBytes
in classPartImpl
-
getContentLength
protected long getContentLength()- Specified by:
getContentLength
in classPartImpl
-
copyContentInto
protected void copyContentInto(io.netty.buffer.ByteBuf target) - Specified by:
copyContentInto
in classPartImpl
-
close
public void close()
-