Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype ResponsePolicyDecision = ResponsePolicyDecision (ManagedPtr ResponsePolicyDecision)
- class (GObject o, IsDescendantOf ResponsePolicyDecision o) => IsResponsePolicyDecision o
- toResponsePolicyDecision :: (MonadIO m, IsResponsePolicyDecision o) => o -> m ResponsePolicyDecision
- noResponsePolicyDecision :: Maybe ResponsePolicyDecision
- responsePolicyDecisionGetRequest :: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) => a -> m URIRequest
- responsePolicyDecisionGetResponse :: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) => a -> m URIResponse
- responsePolicyDecisionIsMimeTypeSupported :: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) => a -> m Bool
- getResponsePolicyDecisionRequest :: (MonadIO m, IsResponsePolicyDecision o) => o -> m URIRequest
- getResponsePolicyDecisionResponse :: (MonadIO m, IsResponsePolicyDecision o) => o -> m URIResponse
Exported types
newtype ResponsePolicyDecision Source #
Memory-managed wrapper type.
Instances
class (GObject o, IsDescendantOf ResponsePolicyDecision o) => IsResponsePolicyDecision o Source #
Type class for types which can be safely cast to ResponsePolicyDecision
, for instance with toResponsePolicyDecision
.
Instances
(GObject o, IsDescendantOf ResponsePolicyDecision o) => IsResponsePolicyDecision o Source # | |
Defined in GI.WebKit2.Objects.ResponsePolicyDecision |
toResponsePolicyDecision :: (MonadIO m, IsResponsePolicyDecision o) => o -> m ResponsePolicyDecision Source #
Cast to ResponsePolicyDecision
, for types for which this is known to be safe. For general casts, use castTo
.
noResponsePolicyDecision :: Maybe ResponsePolicyDecision Source #
A convenience alias for Nothing
:: Maybe
ResponsePolicyDecision
.
Methods
getRequest
responsePolicyDecisionGetRequest Source #
:: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) | |
=> a |
|
-> m URIRequest | Returns: The URI request that is associated with this policy decision. |
Return the URIRequest
associated with the response decision.
Modifications to the returned object are <emphasis>not</emphasis> taken
into account when the request is sent over the network, and is intended
only to aid in evaluating whether a response decision should be taken or
not. To modify requests before they are sent over the network the
WebKitPage::send-request
signal can be used instead.
getResponse
responsePolicyDecisionGetResponse Source #
:: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) | |
=> a |
|
-> m URIResponse | Returns: The URI response that is associated with this policy decision. |
Gets the value of the ResponsePolicyDecision
:response
property.
isMimeTypeSupported
responsePolicyDecisionIsMimeTypeSupported Source #
:: (HasCallStack, MonadIO m, IsResponsePolicyDecision a) | |
=> a |
|
-> m Bool | Returns: |
Gets whether the MIME type of the response can be displayed in the WebView
that triggered this policy decision request. See also webViewCanShowMimeType
.
Since: 2.4
Properties
request
This property contains the URIRequest
associated with this
policy decision.
getResponsePolicyDecisionRequest :: (MonadIO m, IsResponsePolicyDecision o) => o -> m URIRequest Source #
Get the value of the “request
” property.
When overloading is enabled, this is equivalent to
get
responsePolicyDecision #request
response
This property contains the URIResponse
associated with this
policy decision.
getResponsePolicyDecisionResponse :: (MonadIO m, IsResponsePolicyDecision o) => o -> m URIResponse Source #
Get the value of the “response
” property.
When overloading is enabled, this is equivalent to
get
responsePolicyDecision #response