VirtualUriMapping
instead.@Deprecated public class VirtualUriMappingAdapter extends Object implements VirtualUriMapping
VirtualURIMapping
, exposing it as the new type.VirtualUriMapping.Result
Constructor and Description |
---|
VirtualUriMappingAdapter(VirtualURIMapping oldMapping)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
VirtualURIMapping |
asOldMapping()
Deprecated.
|
boolean |
isValid()
Deprecated.
Validate necessary info to check VirtualUriMapping is valid.
|
Optional<VirtualUriMapping.Result> |
mapUri(URI uri)
Deprecated.
Maps an incoming URI to a new target URI.
|
String |
toString()
Deprecated.
|
public VirtualUriMappingAdapter(VirtualURIMapping oldMapping)
public Optional<VirtualUriMapping.Result> mapUri(URI uri)
VirtualUriMapping
mapUri
in interface VirtualUriMapping
uri
- a relative URI containing only the path and query components.
The path is relative to the magnolia servlet mapping; context path is already stripped.public boolean isValid()
VirtualUriMapping
isValid
in interface VirtualUriMapping
public VirtualURIMapping asOldMapping()
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.