SpdyHeaders Type — netty Architecture
Architecture documentation for the SpdyHeaders type/interface in SpdyHeaders.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 21090f60_daec_2e0c_eb83_65e799caed86["SpdyHeaders"] 5a71f309_9b1b_b31c_652f_cc33c2c43bd0["SpdyHeaders.java"] 21090f60_daec_2e0c_eb83_65e799caed86 -->|defined in| 5a71f309_9b1b_b31c_652f_cc33c2c43bd0 style 21090f60_daec_2e0c_eb83_65e799caed86 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyHeaders.java lines 29–92
public interface SpdyHeaders extends Headers<CharSequence, CharSequence, SpdyHeaders> {
/**
* SPDY HTTP header names
*/
final class HttpNames {
/**
* {@code ":host"}
*/
public static final AsciiString HOST = AsciiString.cached(":host");
/**
* {@code ":method"}
*/
public static final AsciiString METHOD = AsciiString.cached(":method");
/**
* {@code ":path"}
*/
public static final AsciiString PATH = AsciiString.cached(":path");
/**
* {@code ":scheme"}
*/
public static final AsciiString SCHEME = AsciiString.cached(":scheme");
/**
* {@code ":status"}
*/
public static final AsciiString STATUS = AsciiString.cached(":status");
/**
* {@code ":version"}
*/
public static final AsciiString VERSION = AsciiString.cached(":version");
private HttpNames() { }
}
/**
* {@link Headers#get(Object)} and convert the result to a {@link String}.
* @param name the name of the header to retrieve
* @return the first header value if the header is found. {@code null} if there's no such header.
*/
String getAsString(CharSequence name);
/**
* {@link Headers#getAll(Object)} and convert each element of {@link List} to a {@link String}.
* @param name the name of the header to retrieve
* @return a {@link List} of header values or an empty {@link List} if no values are found.
*/
List<String> getAllAsString(CharSequence name);
/**
* {@link #iterator()} that converts each {@link Entry}'s key and value to a {@link String}.
*/
Iterator<Entry<String, String>> iteratorAsString();
/**
* Returns {@code true} if a header with the {@code name} and {@code value} exists, {@code false} otherwise.
* <p>
* If {@code ignoreCase} is {@code true} then a case insensitive compare is done on the value.
* @param name the name of the header to find
* @param value the value of the header to find
* @param ignoreCase {@code true} then a case insensitive compare is run to compare values.
* otherwise a case sensitive compare is run to compare values.
*/
boolean contains(CharSequence name, CharSequence value, boolean ignoreCase);
}
Source
Frequently Asked Questions
What is the SpdyHeaders type?
SpdyHeaders is a type/interface in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyHeaders.java.
Where is SpdyHeaders defined?
SpdyHeaders is defined in codec-http/src/main/java/io/netty/handler/codec/spdy/SpdyHeaders.java at line 29.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free