Package com.artipie.composer.http
Interface Resource
-
- All Known Implementing Classes:
PackageMetadata,Root
public interface ResourceResource serving HTTP requests.- Since:
- 0.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.artipie.http.Responseget()Serve GET method.com.artipie.http.Responseput(org.reactivestreams.Publisher<ByteBuffer> body)Serve PUT method.
-
-
-
Method Detail
-
get
com.artipie.http.Response get()
Serve GET method.- Returns:
- Response to request.
-
put
com.artipie.http.Response put(org.reactivestreams.Publisher<ByteBuffer> body)
Serve PUT method.- Parameters:
body- Request body.- Returns:
- Response to request.
-
-