HttpStatusType Interface
public interface HttpStatusType
Defines an HTTP Status Type
Method Summary
Modifier and Type | Method and Description |
---|---|
Http |
custom(final int code)
Creates a custom (non-standard) HTTP Status code. |
int | value() |
Method Details
custom
public static HttpStatusType custom(final int code)
Creates a custom (non-standard) HTTP Status code.
Parameters:
code
- for HttpStatusCode
Returns:
HttpStatusType
value
public int value()
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for Java