Top Description Fields Constructors Methods
io.undertow.server

public final Enum SecureCookieCommitListener

extends Enum<SecureCookieCommitListener>
implements ResponseCommitListener
Class Inheritance
All Implemented Interfaces
io.undertow.server.ResponseCommitListener
Imports
io.undertow.server.handlers.Cookie

Sets the
secure
attribute on all response cookies.
Author
Richard Opalka

Field Summary

Modifier and TypeField and Description
public static final SecureCookieCommitListener

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
beforeCommit(HttpServerExchange
The server exchange
exchange
)

Implements io.undertow.server.ResponseCommitListener.beforeCommit.

Invoked before the first bytes of the response are sent to the client

public static SecureCookieCommitListener
public static SecureCookieCommitListener[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

INSTANCEback to summary
public static final SecureCookieCommitListener INSTANCE

Constructor Detail

SecureCookieCommitListenerback to summary
private SecureCookieCommitListener()

Method Detail

beforeCommitback to summary
public void beforeCommit(HttpServerExchange exchange)

Implements io.undertow.server.ResponseCommitListener.beforeCommit.

Doc from io.undertow.server.ResponseCommitListener.beforeCommit.

Invoked before the first bytes of the response are sent to the client

Parameters
exchange:HttpServerExchange

The server exchange

Annotations
@Override
valueOfback to summary
public static SecureCookieCommitListener valueOf(String name)
valuesback to summary
public static SecureCookieCommitListener[] values()