All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.resteasy.reactive.ResponseStatus Maven / Gradle / Ivy

There is a newer version: 3.17.0.CR1
Show newest version
package org.jboss.resteasy.reactive;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import jakarta.ws.rs.core.Response;

/**
 * When placed on a resource method, then RESTEasy Reactive will set the HTTP status to the specified value,
 * if the method completes without an exception and if it does not return {@link Response} or {@link RestResponse}
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ResponseStatus {

    int value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy