Class RequestCookieImpl

java.lang.Object
org.refcodes.struct.RelationImpl<String,​String>
org.refcodes.struct.PropertyImpl
org.refcodes.struct.PropertyImpl.PropertyBuilderImpl
org.refcodes.web.RequestCookieImpl
All Implemented Interfaces:
org.refcodes.mixin.KeyAccessor<String>, org.refcodes.mixin.KeyAccessor.KeyBuilder<String,​org.refcodes.struct.Relation.RelationBuilder<String,​String>>, org.refcodes.mixin.KeyAccessor.KeyMutator<String>, org.refcodes.mixin.KeyAccessor.KeyProperty<String>, org.refcodes.mixin.ValueAccessor<String>, org.refcodes.mixin.ValueAccessor.ValueBuilder<String,​org.refcodes.struct.Relation.RelationBuilder<String,​String>>, org.refcodes.mixin.ValueAccessor.ValueMutator<String>, org.refcodes.mixin.ValueAccessor.ValueProperty<String>, org.refcodes.struct.Property, org.refcodes.struct.Property.PropertyBuilder, org.refcodes.struct.Relation<String,​String>, org.refcodes.struct.Relation.RelationBuilder<String,​String>, Cookie, RequestCookie

public class RequestCookieImpl
extends org.refcodes.struct.PropertyImpl.PropertyBuilderImpl
implements RequestCookie
Implementation of the RequestCookie interface.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.refcodes.struct.PropertyImpl

    org.refcodes.struct.PropertyImpl.PropertyBuilderImpl

    Nested classes/interfaces inherited from class org.refcodes.struct.RelationImpl

    org.refcodes.struct.RelationImpl.RelationBuilderImpl<K extends Object,​V extends Object>

    Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor

    org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends Object,​B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,​B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends Object>

    Nested classes/interfaces inherited from interface org.refcodes.struct.Property

    org.refcodes.struct.Property.PropertyBuilder

    Nested classes/interfaces inherited from interface org.refcodes.struct.Relation

    org.refcodes.struct.Relation.RelationBuilder<K extends Object,​V extends Object>

    Nested classes/interfaces inherited from interface org.refcodes.mixin.ValueAccessor

    org.refcodes.mixin.ValueAccessor.ValueBuilder<V extends Object,​B extends org.refcodes.mixin.ValueAccessor.ValueBuilder<V,​B>>, org.refcodes.mixin.ValueAccessor.ValueMutator<V extends Object>, org.refcodes.mixin.ValueAccessor.ValueProperty<V extends Object>
  • Field Summary

    Fields inherited from class org.refcodes.struct.RelationImpl

    _key, _value
  • Constructor Summary

    Constructors
    Constructor Description
    RequestCookieImpl()
    Constructs a RequestCookie.
    RequestCookieImpl​(String aHttpCookie)
    Constructs a RequestCookie.
    RequestCookieImpl​(String aCookieName, String aValue)
    Constructs a RequestCookie with the given cookie name and value.
  • Method Summary

    Modifier and Type Method Description
    String toString()

    Methods inherited from class org.refcodes.struct.PropertyImpl.PropertyBuilderImpl

    setKey, setValue

    Methods inherited from class org.refcodes.struct.RelationImpl

    getKey, getValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.refcodes.mixin.KeyAccessor

    getKey

    Methods inherited from interface org.refcodes.mixin.KeyAccessor.KeyMutator

    setKey

    Methods inherited from interface org.refcodes.mixin.KeyAccessor.KeyProperty

    letKey

    Methods inherited from interface org.refcodes.struct.Property

    toProperty

    Methods inherited from interface org.refcodes.struct.Property.PropertyBuilder

    withKey, withValue

    Methods inherited from interface org.refcodes.web.RequestCookie

    fromHttpCookie, toHttpCookie, withHttpCookie

    Methods inherited from interface org.refcodes.mixin.ValueAccessor

    getValue, getValueOr

    Methods inherited from interface org.refcodes.mixin.ValueAccessor.ValueMutator

    setValue

    Methods inherited from interface org.refcodes.mixin.ValueAccessor.ValueProperty

    letValue
  • Constructor Details

    • RequestCookieImpl

      public RequestCookieImpl()
      Constructs a RequestCookie.
    • RequestCookieImpl

      public RequestCookieImpl​(String aCookieName, String aValue)
      Constructs a RequestCookie with the given cookie name and value.
      Parameters:
      aCookieName - The name of the cookie.
      aValue - The value for the cookie.
    • RequestCookieImpl

      public RequestCookieImpl​(String aHttpCookie)
      Constructs a RequestCookie.
      Parameters:
      aHttpCookie - The text as being found in the according HTTP header field.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class org.refcodes.struct.PropertyImpl.PropertyBuilderImpl