ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.webcommon30
Interface CookieConfigType<T>

All Superinterfaces:
Child<T>

public interface CookieConfigType<T>
extends Child<T>

This interface defines the contract for the cookie-configType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 CookieConfigType<T> comment(String comment)
          Sets the comment element
 CookieConfigType<T> domain(String domain)
          Sets the domain element
 String getComment()
          Returns the comment element
 String getDomain()
          Returns the domain element
 Integer getMaxAge()
          Returns the max-age element
 String getName()
          Returns the name element
 String getPath()
          Returns the path element
 CookieConfigType<T> httpOnly(Boolean httpOnly)
          Sets the http-only element
 Boolean isHttpOnly()
          Returns the http-only element
 Boolean isSecure()
          Returns the secure element
 CookieConfigType<T> maxAge(Integer maxAge)
          Sets the max-age element
 CookieConfigType<T> name(String name)
          Sets the name element
 CookieConfigType<T> path(String path)
          Sets the path element
 CookieConfigType<T> removeComment()
          Removes the comment element
 CookieConfigType<T> removeDomain()
          Removes the domain element
 CookieConfigType<T> removeHttpOnly()
          Removes the http-only element
 CookieConfigType<T> removeMaxAge()
          Removes the max-age element
 CookieConfigType<T> removeName()
          Removes the name element
 CookieConfigType<T> removePath()
          Removes the path element
 CookieConfigType<T> removeSecure()
          Removes the secure element
 CookieConfigType<T> secure(Boolean secure)
          Sets the secure element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

name

CookieConfigType<T> name(String name)
Sets the name element

Parameters:
name - the value for the element name
Returns:
the current instance of CookieConfigType

getName

String getName()
Returns the name element

Returns:
the node defined for the element name

removeName

CookieConfigType<T> removeName()
Removes the name element

Returns:
the current instance of CookieConfigType

domain

CookieConfigType<T> domain(String domain)
Sets the domain element

Parameters:
domain - the value for the element domain
Returns:
the current instance of CookieConfigType

getDomain

String getDomain()
Returns the domain element

Returns:
the node defined for the element domain

removeDomain

CookieConfigType<T> removeDomain()
Removes the domain element

Returns:
the current instance of CookieConfigType

path

CookieConfigType<T> path(String path)
Sets the path element

Parameters:
path - the value for the element path
Returns:
the current instance of CookieConfigType

getPath

String getPath()
Returns the path element

Returns:
the node defined for the element path

removePath

CookieConfigType<T> removePath()
Removes the path element

Returns:
the current instance of CookieConfigType

comment

CookieConfigType<T> comment(String comment)
Sets the comment element

Parameters:
comment - the value for the element comment
Returns:
the current instance of CookieConfigType

getComment

String getComment()
Returns the comment element

Returns:
the node defined for the element comment

removeComment

CookieConfigType<T> removeComment()
Removes the comment element

Returns:
the current instance of CookieConfigType

httpOnly

CookieConfigType<T> httpOnly(Boolean httpOnly)
Sets the http-only element

Parameters:
httpOnly - the value for the element http-only
Returns:
the current instance of CookieConfigType

isHttpOnly

Boolean isHttpOnly()
Returns the http-only element

Returns:
the node defined for the element http-only

removeHttpOnly

CookieConfigType<T> removeHttpOnly()
Removes the http-only element

Returns:
the current instance of CookieConfigType

secure

CookieConfigType<T> secure(Boolean secure)
Sets the secure element

Parameters:
secure - the value for the element secure
Returns:
the current instance of CookieConfigType

isSecure

Boolean isSecure()
Returns the secure element

Returns:
the node defined for the element secure

removeSecure

CookieConfigType<T> removeSecure()
Removes the secure element

Returns:
the current instance of CookieConfigType

maxAge

CookieConfigType<T> maxAge(Integer maxAge)
Sets the max-age element

Parameters:
maxAge - the value for the element max-age
Returns:
the current instance of CookieConfigType

getMaxAge

Integer getMaxAge()
Returns the max-age element

Returns:
the node defined for the element max-age

removeMaxAge

CookieConfigType<T> removeMaxAge()
Removes the max-age element

Returns:
the current instance of CookieConfigType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.