HttpStatusType Interface
public interface HttpStatusType
Defines an HTTP Status Type
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Http |
custom(int code)
Creates a custom (non-standard) HTTP Status code. |
abstract int | value() |
Method Details
custom
public static HttpStatusType custom(int code)
Creates a custom (non-standard) HTTP Status code.
Parameters:
code
- for HttpStatusCode
Returns:
HttpStatusType
value
public abstract int value()
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für