Top Description Fields Constructors Methods
org.apache.hc.core5.http

public final Class Message<H extends org.apache.hc.core5.http.MessageHeaders, B>

extends Object
Class Inheritance
Type Parameters
<H>
message head type.
<B>
message body type.
Imports
org.apache.hc.core5.util.Args

Generic message consisting of a message head and a message body.
Since
5.0

Field Summary

Modifier and TypeField and Description
private final B
private final H

Constructor Summary

AccessConstructor and Description
public
Message(final H head, final B body)

Method Summary

Modifier and TypeMethod and Description
public B
public H
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

bodyback to summary
private final B body

Constructor Detail

Messageback to summary
public Message(final H head, final B body)

Method Detail

getBodyback to summary
public B getBody()
getHeadback to summary
public H getHead()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override