Class HttpHeader

    • Constructor Detail

      • HttpHeader

        public HttpHeader()
      • HttpHeader

        public HttpHeader​(HttpHeader source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getName

        public String getName()
        Get HTTP头的名称 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Name HTTP头的名称 注意:此字段可能返回 null,表示取不到有效值。
      • setName

        public void setName​(String Name)
        Set HTTP头的名称 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Name - HTTP头的名称 注意:此字段可能返回 null,表示取不到有效值。
      • getValue

        public String getValue()
        Get HTTP头的值 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Value HTTP头的值 注意:此字段可能返回 null,表示取不到有效值。
      • setValue

        public void setValue​(String Value)
        Set HTTP头的值 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Value - HTTP头的值 注意:此字段可能返回 null,表示取不到有效值。