Package com.yahoo.processing.handler
Class ResponseHeaders
- java.lang.Object
-
- com.yahoo.component.provider.FreezableClass
-
- com.yahoo.component.provider.ListenableFreezableClass
-
- com.yahoo.processing.response.AbstractData
-
- com.yahoo.processing.handler.ResponseHeaders
-
- All Implemented Interfaces:
com.yahoo.component.provider.Freezable
,com.yahoo.component.provider.ListenableFreezable
,Data
public class ResponseHeaders extends AbstractData
Holds a set of headers which will be added to the Processing response. A Response may contain multiple such data objects, and all of them will be added to the response.- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description ResponseHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers, Request request)
Creates a response headers object with a set of headers.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<java.lang.String>>
headers()
Returns an unmodifiable map of the response headers of this-
Methods inherited from class com.yahoo.processing.response.AbstractData
request
-
Methods inherited from class com.yahoo.component.provider.ListenableFreezableClass
addFreezeListener, clone, freeze
-
-
-
-
Constructor Detail
-
ResponseHeaders
public ResponseHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers, Request request)
Creates a response headers object with a set of headers.- Parameters:
headers
- the headers to copy into this object
-
-