Class Http::ResponseWriter
A variable that is an HTTP response writer.
Extend this class to refine existing API models. If you want to model new APIs,
extend HTTP::ResponseWriter::Range instead.
Import path
import semmle.go.concepts.HTTPDirect supertypes
Indirect supertypes
Predicates
| getAHeaderWrite | Gets a header write that is written in this HTTP response. |
| getANode | Gets a data-flow node that is a use of this response writer. |
| getARedirect | Gets a redirect that is sent in this HTTP response. |
| getBody | Gets the body that is written in this HTTP response. |
Inherited predicates
| getARead | Gets a data-flow node that reads the value of this entity. | from ValueEntity |
| getAReference | Gets a reference to this entity. | from Entity |
| getAWrite | Gets a control-flow node that updates the value of this entity. | from ValueEntity |
| getDeclaration | Gets the declaring identifier for this entity, if any. | from Entity |
| getLocation | Gets the location of this entity. | from Entity |
| getName | Gets the name of this entity. | from Entity |
| getPackage | Gets the package in which this entity is declared, if any. | from Entity |
| getQualifiedName | Gets the qualified name of this entity, if any. | from Entity |
| getScope | Gets the scope in which this entity is declared, if any. | from Entity |
| getType | Gets the type of this entity. | from Entity |
| hasLocationInfo | DEPRECATED: Use | from Entity |
| hasQualifiedName | Holds if this entity is declared in a package with path | from Entity |
| toString | Gets a textual representation of this entity. | from Entity |