Class PackageMetadataSlice

java.lang.Object
com.artipie.composer.http.PackageMetadataSlice
All Implemented Interfaces:
com.artipie.http.Slice

public final class PackageMetadataSlice extends Object implements com.artipie.http.Slice
Slice that serves package metadata.
Since:
0.3
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.artipie.http.Slice

    com.artipie.http.Slice.Wrap
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Pattern
    RegEx pattern for all packages metadata path.
    static final Pattern
    RegEx pattern for package metadata path.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.artipie.http.Response
    response(com.artipie.http.rq.RequestLine line, com.artipie.http.Headers headers, Content body)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • PACKAGE

      public static final Pattern PACKAGE
      RegEx pattern for package metadata path. According to docs.
    • ALL_PACKAGES

      public static final Pattern ALL_PACKAGES
      RegEx pattern for all packages metadata path.
  • Method Details

    • response

      public com.artipie.http.Response response(com.artipie.http.rq.RequestLine line, com.artipie.http.Headers headers, Content body)
      Specified by:
      response in interface com.artipie.http.Slice