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

public.javadoc.org.spincast.plugins.routing.ETagFactoryDefault.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






ETagFactoryDefault (org.spincast:spincast-framework 1.0.0 API)












org.spincast.plugins.routing

Class ETagFactoryDefault

    • Field Detail

      • ETAG_HEADER_VALUE_PATTERN

        protected static final Pattern ETAG_HEADER_VALUE_PATTERN
    • Constructor Detail

      • ETagFactoryDefault

        @Inject
        public ETagFactoryDefault()
        Constructor
    • Method Detail

      • create

        public ETag create(String tag)
        Description copied from interface: ETagFactory
        Creates a strong ETag, using a specific tag. THis tag will be used as is to generate the ETag header value.
        Specified by:
        create in interface ETagFactory
      • create

        public ETag create(String tag,
                           boolean isWeak)
        Description copied from interface: ETagFactory
        Creates a strong or weak ETag, using a specific tag. THis tag will be used as is to generate the ETag header value.
        Specified by:
        create in interface ETagFactory
        isWeak - is the ETag weak?
      • create

        public ETag create(String tag,
                           boolean isWeak,
                           boolean isWildcard)
        Description copied from interface: ETagFactory
        Creates a strong or weak ETag, using a specific tag. THis tag will be used as is to generate the ETag header value.
        Specified by:
        create in interface ETagFactory
        isWeak - is the ETag weak?
        isWildcard - is the ETag a wildcard? If so, the 'tag' must be "*" or be empty.
      • deserializeHeaderValue

        public ETag deserializeHeaderValue(String etagHeaderValue)
        Description copied from interface: ETagFactory
        Creates an ETag object from an already formatted ETag header.
        Specified by:
        deserializeHeaderValue in interface ETagFactory
        Parameters:
        etagHeaderValue - the value of the ETag header. Or an already formatted ETag String.

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy