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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitflatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteNamepublic static final ShapeId ID
public HttpErrorTrait(int code,
FromSourceLocation sourceLocation)
public HttpErrorTrait(int code)
public int getCode()
protected Node createNode()
AbstractTraitcreateNode in class AbstractTrait