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
,com.yahoo.processing.response.Data
public class ResponseHeaders extends com.yahoo.processing.response.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.- Since:
- 5.1.23
- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description ResponseHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers, com.yahoo.processing.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.component.provider.ListenableFreezableClass
addFreezeListener, clone, freeze
-
-