- java.lang.Object
-
- aeonics.template.Item<Destination.Type>
-
- aeonics.entity.Destination
-
- aeonics.http.HttpResponse
-
public class HttpResponse extends Destination
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class aeonics.entity.Destination
Destination.Template
-
-
Constructor Summary
Constructors Constructor Description HttpResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.function.Supplier<? extends aeonics.http.HttpResponse.Type>
defaultCreator()
Returns the default target entity creator.protected java.lang.Class<? extends aeonics.http.HttpResponse.Type>
defaultTarget()
Returns the default target entity type.Destination.Template
template()
Returns the template to build the target entity.-
Methods inherited from class aeonics.entity.Destination
category
-
-
-
-
Method Detail
-
defaultTarget
protected java.lang.Class<? extends aeonics.http.HttpResponse.Type> defaultTarget()
Description copied from class:Item
Returns the default target entity type. This method should be implemented by subclasses to specify the target entity type.- Overrides:
defaultTarget
in classDestination
- Returns:
- the default target entity type
-
defaultCreator
protected java.util.function.Supplier<? extends aeonics.http.HttpResponse.Type> defaultCreator()
Description copied from class:Item
Returns the default target entity creator. This method should be implemented by subclasses to specify the entity creator.- Overrides:
defaultCreator
in classDestination
- Returns:
- the default target entity creator
-
template
public Destination.Template template()
Description copied from class:Item
Returns the template to build the target entity.This method should ultimately be used to provide the final entity template. Although, it may also provide a partial template that subclassed may complement.
- Overrides:
template
in classDestination
- Returns:
- the matching entity template
-
-