Class HTTPMessageEncoder
- java.lang.Object
-
- com.biglybt.core.networkmanager.impl.http.HTTPMessageEncoder
-
- All Implemented Interfaces:
MessageStreamEncoder
public class HTTPMessageEncoder extends java.lang.Object implements MessageStreamEncoder
-
-
Field Summary
Fields Modifier and Type Field Description private HTTPNetworkConnection
http_connection
-
Constructor Summary
Constructors Constructor Description HTTPMessageEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RawMessage[]
encodeMessage(Message message)
Encode the given message into the raw message output stream format.void
setConnection(HTTPNetworkConnection _http_connection)
-
-
-
Field Detail
-
http_connection
private HTTPNetworkConnection http_connection
-
-
Method Detail
-
setConnection
public void setConnection(HTTPNetworkConnection _http_connection)
-
encodeMessage
public RawMessage[] encodeMessage(Message message)
Description copied from interface:MessageStreamEncoder
Encode the given message into the raw message output stream format.- Specified by:
encodeMessage
in interfaceMessageStreamEncoder
- Parameters:
message
- to encode- Returns:
- raw messages encoding
-
-