public final class HttpErrorTrait extends AbstractTrait
Modifier and Type | Class and Description |
---|---|
static class |
HttpErrorTrait.Provider |
Constructor and Description |
---|
HttpErrorTrait(int code) |
HttpErrorTrait(int code,
FromSourceLocation sourceLocation) |
Modifier and Type | Method and Description |
---|---|
protected Node |
createNode()
The result of toNode is used for hashCodes and equality.
|
int |
getCode() |
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteName
public static final ShapeId ID
public HttpErrorTrait(int code, FromSourceLocation sourceLocation)
public HttpErrorTrait(int code)
public int getCode()
protected Node createNode()
AbstractTrait
createNode
in class AbstractTrait