Class HttpField.IntValueHttpField

java.lang.Object
org.eclipse.jetty.http.HttpField
org.eclipse.jetty.http.HttpField.IntValueHttpField
Enclosing class:
HttpField

public static class HttpField.IntValueHttpField extends HttpField

A specialized HttpField whose value is an int.

  • Constructor Details

    • IntValueHttpField

      public IntValueHttpField(HttpHeader header, String name, String value, int intValue)
    • IntValueHttpField

      public IntValueHttpField(HttpHeader header, String name, String value)
    • IntValueHttpField

      public IntValueHttpField(HttpHeader header, String name, int intValue)
    • IntValueHttpField

      public IntValueHttpField(HttpHeader header, int value)
    • IntValueHttpField

      public IntValueHttpField(String header, int value)
  • Method Details

    • getIntValue

      public int getIntValue()
      Overrides:
      getIntValue in class HttpField
      Returns:
      the value of this field as an int
    • getLongValue

      public long getLongValue()
      Overrides:
      getLongValue in class HttpField
      Returns:
      the value of this field as an long